Yes right. But the problem you are facing is different. Doing some hunt on the internet, I see that this problem comes when Java is unable to allocate momory for the application you are tryig to run. Maybe there is a memoy leak in your windows mahchine or your system memory is too low.
There are some other tweaks that can be tried with JRE configuration with changing the initial and maximum memory heaps size, but I'm not sure if I can suggest it in this forum.
If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.