> It could be you simply need to allocate a little more
> memory to your JVM, or it could possibly be a memory
> leak. Did you try to allocate more yet? You can add
> VM arguments like: -Xms128M -Xmx512M to set the min
> and max memory for the JVM.
How can i increase the heap size ..
In which file i can change the heap size...
You add them to the start command, like
java -Xms128M -Xmx512M MyClass
This will set the minimum size to 128 MB, and the max will be allowed up to 512MB. It won't allocate 512 unless it is required though.
There's an overview of all the command line options here: http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/java.html
alper