i have 2gb ram on my computer. its a windows 7 using eclipse for java when i run a program that runs a select query on mysql database with 0.4 million records it gives heap size error. this is my present eclipse.ini
-vmargs
-Xmx1000m
-XX:MaxPermSize=256m
-XX:ReservedCodeCacheSize=64m
what can i do ?