I'm having the following problem:
I have a Netbeans Platform Application project that during execution the application hangs once and nothing else responds (one minute execution is enough to crash, this possibly occurs because of large queries that application needs to do). And this problem occurs in a ratio of 2 times in every 10 executions.
When the problem occurs the NetBeans output does not catch any error, however, in the installed version of the project I was able to catch the following error: OutOfMemoryError: Java heap spaceWell, I saw in this topic the suggestion to change VM options. However as the project is a Netbeans Platform Application , I have not found VM options in properties.
In another topic of the English version of the site, I saw the suggestion to add the run.args.extra=-J-Xmx1024m
excerpt property in the project.properties file, but apparently this property seems to be ignored and the problem still occurs.
Does anyone know how I can change the VM settings in a Netbeans Platform Application ?