You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.27.1, on Microsoft Windows [Version 10.0.19045.5854], locale nl-NL)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[√] Chrome - develop for the web
[!] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.2.6)
X Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop development with C++" workload, and include these components:
MSVC v142 - VS 2019 C++ x64/x86 build tools
- If there are multiple build tool versions available, install the latest
C++ CMake tools for Windows
Windows 10 SDK
[√] Android Studio (version 2021.3)
[√] Android Studio (version 2024.1)
[√] IntelliJ IDEA Ultimate Edition (version 2022.3)
[√] IntelliJ IDEA Ultimate Edition (version 2024.1)
[√] VS Code, 64-bit edition (version 1.87.0)
[√] Connected device (3 available)
[√] Network resources
Mobile operating-system(s)
iOS
Android
Device Manufacturer(s) and Model(s)
Motorola Edge 50 Neo
Device operating-systems(s)
Android 15
What happened?
Upon uploading the log generated by the plugin, we got the following error.
Fatal Exception: java.lang.OutOfMemoryError: Failed to allocate a 183500808 byte allocation with 100663296 free bytes and 165MB until OOM, target footprint 195945824, growth limit 268435456
at java.util.Arrays.copyOf(Arrays.java:3585)
at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:177)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:543)
at java.lang.StringBuffer.append(StringBuffer.java:319)
at com.transistorsoft.locationmanager.logger.TSLogReader.getLog(:249)
at com.transistorsoft.locationmanager.logger.a.run(SourceFile:29)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
at java.lang.Thread.run(Thread.java:1012)
Our app has a button, which allows the user to upload the log to our server for debug purposes. However the app hang and crashed when clicking it. Most likely to the fact that it got out of memory.
Is there a way to upload in chunks or work around this?
Hi Chris, thanks for your reply.
We are aware of the 2nd argument to filter on date. However, it is possible that we ask a user to upload the log a few days after they have used the app. In this case, how would we know for which days there is data in the log?
Since we have logMaxDays set on 3, it should not exceed very high volumes, right?
Required Reading
Plugin Version
4.16.6
Flutter Doctor
Mobile operating-system(s)
Device Manufacturer(s) and Model(s)
Motorola Edge 50 Neo
Device operating-systems(s)
Android 15
What happened?
Upon uploading the log generated by the plugin, we got the following error.
Fatal Exception: java.lang.OutOfMemoryError: Failed to allocate a 183500808 byte allocation with 100663296 free bytes and 165MB until OOM, target footprint 195945824, growth limit 268435456
at java.util.Arrays.copyOf(Arrays.java:3585)
at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:177)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:543)
at java.lang.StringBuffer.append(StringBuffer.java:319)
at com.transistorsoft.locationmanager.logger.TSLogReader.getLog(:249)
at com.transistorsoft.locationmanager.logger.a.run(SourceFile:29)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
at java.lang.Thread.run(Thread.java:1012)
Our app has a button, which allows the user to upload the log to our server for debug purposes. However the app hang and crashed when clicking it. Most likely to the fact that it got out of memory.
Is there a way to upload in chunks or work around this?
Any help would be greatly appreciated! Thanks!
Plugin Code and/or Config
Relevant log output
The text was updated successfully, but these errors were encountered: