JPDA Initial Heap Size
Please tell me how to change the default initial and max heap size for JPDA / debugee programs.
The typical non-standard options do not seem to work -
-Xms128m -Xmx256m
I am also using the following options -
-agentlib:jdwp=transport=dt_socket,server=y,address=8000
with JDK 5 (build 1.5.0_06-b05) and NB 5 (200601251500)
Thanks,
Jeff
[386 byte] By [
aujeff] at [2007-11-26 10:51:34]

# 2
Yes. I have tried several configurations, customize debug ant targets, attach to running JVM, all trying to increase the initial heap size used by the debugee.
In all cases, the heap starts around 30MB, which forces the developer to wait for several minutes for the heap to grow.
thanks,
jeff
# 5
You may want to post this question on NetBeans forums (http://www.netbeans.org/community/lists/top.html) especially nbusers@netbeans.org (http://www.netbeans.org/servlets/SummarizeList?listName=nbusers), where the debugger experts are...
btw, have you tried '-J-Dnetbeans.debugger.jpda.transport=dt_shmem' startup option?
According to http://www.netbeans.org/kb/41/using-netbeans/configuring.html#performance_switc hes:
Force the IDE to use the shared memory connection when starting a debugging session with the Debug >Start command. This parameter has no effect when you attach the debugger to an already running process.
This may use the -X parameters passed to ide itself...