Unable to download C16 due to Java

As usual, I already purchased the upgrade and I’m looking forward to explore the new features. Problem is, all the improvements you guys did to Cubase still depend on a crappy piece of software to get to the customer, and that software is the Download Assistant, which works whenever it pleases.

And today I realized why:

You guys coded it in Java??? The worst programming language in the universe, always crashing, stalling and not doing the very simple job it’s supposed to do.

As of now, I still have to find a way to download Cubase Pro 16, when it should’ve been as easy as buy it, enter the code and click on Install all. But the thing keeps stalling, and I already rebooted, after which I launched it and got this:

After which, of course, I had to open Task Manager and kill the process, which BTW, is still 32 bits. Why still 32 bits? Are we in 2003?

You guys really need to fix this software, because it’s the simple app that allows your customers to download your software.

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.

I updated the Steinberg Download Assistant.cfg file in C:\Program Files (x86)\Steinberg\Download Assistant\app

With the following configuration:

[JVMUserOptions]

-Xms256m

-Xmx1024m

And this has

resolved errors I was getting with the latest Download Assistants so now I can install Cubase16.

Interesting. I assume it was going to work, but instead I get two error messages and it doesn’t load:

You might need to tweak the values, or undo changes you may have made to other environment variables for your system, I initially had the values too high and I got the same errors you had. Steinberg should definitely fix this in updates, looks bad especially after a product launch.

Well, I don’t even know what those values mean, so I wouldn’t know how to tweak them.

They configure heap memory for the JVM, Xms is the starting memory allocation, Xmx is the maximum heap allocation. Here I’m having it start with 256m and allow it to expand to 1024m (megabytes)

32 bit applications have a limit to their address space to enabling the heap to grow within the limits of a 32 bit application might be how this fixed it for me.

And yes, I shouldn’t have to troubleshoot the damn download assistant app to be able to get the software I bought, Steinberg should’ve gotten this right a long time ago. I remember back when I was using macOS it also had problems, but at least it was a matter of uninstalling and installing it again. The Windows version is absolute crap, you can’t do anything with it.

It’s not just this today, I always have problems with it, like I mentioned in another thread, if I try to expand sections and scroll down, it hangs and I have to kill the process.

It’s really lame that Steinberg has such a buggy piece of software in charge of downloading all its apps, which are not anywhere near as buggy as this one. They’re not perfect, but they are generally pretty solid, and this is downright pathetic.

Could you try:
-Xms256m
-Xmx512m

And see if this works? also have you made any other changes to the application config or JVM?

Use the website? I agree with your sentiments. Java - :scream:

Yes, the problem is that downloading from the website you end up with a lot of separate files and you have to launch all of them one at a time. The download assistant knows what you already have installed and doesn’t install it again, because there are many things carried over from Cubase Pro 15.

Yes, those work, thanks!

Still, it’s completely unacceptable that you have to tweak the download app. You obviously know something about Java, but there’s no reason why I should, or anyone else who uses Cubase.

Thanks for the confirmation, I don’t know too much about Java but I used to have to administer a few enterprise applications in previous roles that would require some tweaking to get working.

The other annoying thing is now if they fix this issue in a new release, you’ll probably want to revert the changes you made to that config file. Sometimes installers/updaters don’t like to mess with user-defined parameters or configurations that were previously set.

Yeah the download assistant has been flaky for quite a long time. Like all technology it does make life easier but only when it works. When it doesn’t work you’re reliant on Steinberg’s “interesting” approach to technical support (“Whisper your request in secret into a large plastic container. Place the container in a nearby hedge. The answer will be revealed to you in the subsequent migration of birds”), or the kindness of strangers.

Speaking of which, @tylerwylie, thank you! Although the first fix you suggested (initial heap 256MB, max heap 1024MB*) rendered the app unusable for some reason, the second fix (initial heap 256MB, max heap 512MB) made it work and I’ve only had to spend 1½ hours of my life (time that I will never get back and that surely was worth more than £83) installing the app & its content.

* did you know you can specify g as a suffix? -xmx1g

Lastly, while I understand it’s frustrating, “Java is the worst programming language in the world” is a risible claim. The worst programming language in the world is clearly whichever programming language is currently causing you a headache, which means it’s C++, Java, C#, C, assembly language, PHP, Perl, Python, Pascal, Ruby, Visual Basic, R, depending on the problem. Just like the most frustrating implement in the kitchen is the one you’re holding when you’re having a clumsy day and trying to do something in a hurry.

Anyway, if you really want the worst programming language ever try this:

Thanks, I’ll keep that in mind.

Another thing that was really frustrating was that once I was able to make it work with your changes, I had an UAC prompt for every single thing that it installed. Meaning, every item in the list for Cubase Pro 16, whether it was software or plugin, library, etc, gave me an UAC prompt that I had to click Yes to continue. I don’t remember that being the case in any other Steinberg installation before, and a few times wouldn’t bother me, but dozens of UAC prompts? Yes, that’s annoying, and it reflects very poorly on Steinberg.

They really need to shoot this awful app to put it out of its misery and create one that works. Hey, they can hire that guy that copied all the Adobe apps with AI coding. They work really well, the few I tested at least. :laughing:

Well, I don’t know if it’s the absolute worst, but I know it’s at the bottom, and this is from 30 years of putting up with it, and having worked with several programmers that confirmed to me that it’s a piece of garbage.

Recently retired senior developer here. Java sucks. But not as hard or as bad as Javascript. I really, really hated Javascript. I haven’t so far had any problems with the download assistant but now I’m anticipating that I’m going to have to hack the config file, which is almost the exact opposite of a good UX.

It’s in the top 7 most popular programming languages in the world. Or if you remove things folks don’t actually code applications in (HTML/CSS is not a language, Bash/Shell … I’m not going to die on that hill, but also not an app dev language, and same with SQL), it’s the 4th most popular language in the world.

Not saying I like it. The only time I run across it these days (knowingly) is Minecraft. But “worst in the world” is pretty difficult to defend. Lots of people do love using it and appreciate that it is cross-platform.

Pete
Microsoft

It might be, but it’s not that the most popular things are always the best in quality.