I am running a program in Eclipse(Windows) and need a relatively huge size of memory. Passing the -Xmx1500m to the program seems not sufficient, while Eclipse d
-Xmx1500m
I think you need to increase the memory available to eclipse.
Modify -Xmx option in the eclipse.ini file (in a Windows machine).
-Xmx
eclipse.ini