Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > HEAP ALLOCATION, not at the beggining, in the MIDLE of running

Reply
Thread Tools

HEAP ALLOCATION, not at the beggining, in the MIDLE of running

 
 
Paul K.
Guest
Posts: n/a
 
      12-08-2006
Hi! I want to know if there is a way to reallocate the RAM memory for a

java application that is already running, Iknow that in order to set it

initially is like:

java -ms32m -mx128m MyClassName


but what if in the middle of the execution i need to get more memory
lets say up to 1G?


regards

ATENTION: I dont want to set these flags, i want to manipulate on
porpuse the allocation of memory in the middle of the running of the
program without initially putting the flags in the java command, this
is like for example lets say i wanna increase the hastables somewhere i
wanna reallocate the memory but by inside the program ok??? i think
this is no way the java flags command but has to be somethg inside the
java code? does anyone knows?

regards

paul.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
stl heap question: restoring heap validinty after changing 1 element viki C++ 6 06-28-2008 10:12 AM
Heap dump file size vs heap size Michal Slocinski Java 1 03-25-2008 12:54 PM
HEAP ALLOCATION, not at the beggining, in the MIDLE of running Paul K. Java 2 12-09-2006 06:56 PM
HEAP ALLOCATION, not at the beggining, in the MIDLE of running Paul K. Java 0 12-08-2006 11:17 PM
HEAP ALLOCATION, not at the beggining, in the MIDLE of running Paul K. Java 0 12-08-2006 11:17 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57