Memory allocation in java programatically
Posted on 2006-06-22
Any clues on how to allocate memory in java at runtime?
I mean suppose in my main method if I want to say that "this program should run with memory of 512MB" is there any way programatically
We use command like
java -Xms512M -Xmx512M abc
Is there anyway to implement it in your java program?