This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: _Jv_SetMaximumHeapSize


Maybe setting maximum heap size could be dangerous too, just as setting ulimits (what
if the program *really* needs more memory...?).

What would be your take on what the Python people seem to do somehow?

They seem to garbage-collect but make sure as well that reference counting
de-allocates memory as early as possible. (I understand that reference counting in
itself carries both a memory as well as a performance penalty).

On the other side, it would increase the sense of control that is lacking now when
one observes evergrowing memory usage (even when it is justified) without the ability
to do something about it... Or maybe the whole idea is silly for some other reason I
am not aware of?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]