And after uninstalling Download Assistant, rebooting, installing it again, login in to my account, it’s the same crap. This time with several Java errors:
This is in addition to the one I showed in the first post. That OutOfMemoryError kind of tells me, without being a programmer, that the app needs more memory to run properly, but just in case I googled it and this is what I got:
The java.lang.OutOfMemoryError: Java heap space error happens when your Java application tries to create new objects, but the Java Virtual Machine (JVM) does not have enough free memory left in its heap. [1]
Common Causes
- Heap Size Too Small: Your app needs more memory than the current limit allows (e.g., handling large files, heavy database queries, or a Minecraft server with too many mods).
- Memory Leaks: A bug in your code keeps holding references to objects that are no longer needed, preventing the Garbage Collector from freeing up memory.
- Massive Data Loads: Attempting to load an entire large dataset, array, or database result set into memory all at once. [1, 2, 3, 4]
How to Fix It
1. Increase the Maximum Heap Size
You can tell the JVM to use more memory by passing the -Xmx flag when starting your application: [1]
- Example command-line argument:
-Xmx2048m (sets the maximum heap size to 2 GB). [1]
- Where to set it depending on your environment:
- Command Line / Custom Script: Add
-Xmx2g directly to your java command.
- Gradle (
gradle.properties): Add org.gradle.jvmargs=-Xmx2048m.
- Eclipse: Go to Run Configurations → Arguments → VM arguments and add
-Xmx2048m.
- IntelliJ IDEA / NetBeans: Check your run/debug configuration settings or project properties under VM options.
- Tomcat: Update
catalina.sh or setenv.sh with JAVA_OPTS="-Xmx1536m". [1]
2. Analyze a Heap Dump for Memory Leaks
If increasing the memory limit only delays the crash, you likely have a memory leak. [1, 2]
- Force the JVM to generate a heap dump when the crash happens by adding this VM argument:
-XX:+HeapDumpOnOutOfMemoryError.
- Open the generated
.hprof file using memory analysis tools like Eclipse MAT or VisualVM to see which objects are consuming all your RAM. [1, 2]
3. Optimize Your Code
- Process large datasets in chunks or streams instead of loading everything into memory at once.
- Clear collections, cache maps, or static references when they are no longer needed.
If you’d like to troubleshoot further, tell me:
- What application or framework you are running (e.g., Spring Boot, Minecraft, custom Java app, Tomcat)?
- How much heap is currently allocated to it?
“Your app needs more memory than the current limit allows (e.g., handling large files, heavy database queries”
Why would you guys keep this a 32 bit app when obviously the 2 or 4 GB of RAM that it’s constrained to use is not enough for the tasks it needs to perform? And why would you use the single worst programming language in history to create this app?
Oh, and while I was typing this, I got another error:
I bought Cubase Pro 16 31 minutes ago. By now, I should have it installed, and watching the tutorial videos to learn the new features and do some work with it. Instead, all I can do is keep launching it, watch it stall, not respond at all, and eventually having to kill it from the Task Manager.
Does this seem like the customer experience Steinberg wants? If the answer is no, then build a new Download Assistant from scratch that is not a total piece of garbage.