Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #35284
| From | Cecil Westerhof <Cecil@decebal.nl> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Restricting the memory usage of a Java program |
| Date | 2016-08-13 02:52 +0200 |
| Organization | Decebal Computing |
| Message-ID | <8760r5lccf.fsf@Equus.decebal.nl> (permalink) |
| References | <8760r7m18z.fsf@Equus.decebal.nl> <noisp2$12e7$1@gioia.aioe.org> <87wpjml720.fsf@Equus.decebal.nl> <nokil0$1ce1$1@gioia.aioe.org> <87fuq9lgzr.fsf@Equus.decebal.nl> |
On Saturday 13 Aug 2016 01:11 CEST, Cecil Westerhof wrote: >>> Just to be sure: maxMemory cannot change during the run of a Java >>> application? >> >> That is my understanding. See previous post. > > But it can, I just saw: > freeAfter freeBefore maxMemory totalAfter totalBefore > "185" "65" "239" "239" "242" > "101" "96" "228" "155" "155" > > So first maxMemory was 228. An hour later total was 242 before gc. > After gc total was 239 and maxMemory was changed from 228 to 239. But it is also given back, the next line (an hour later) reeds: freeAfter freeBefore maxMemory totalAfter totalBefore "120" "42" "228" "174" "174" -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Restricting the memory usage of a Java program Cecil Westerhof <Cecil@decebal.nl> - 2016-08-11 23:42 +0200
Re: Restricting the memory usage of a Java program Arne Vajhøj <arne@vajhoej.dk> - 2016-08-11 18:04 -0400
Re: Restricting the memory usage of a Java program Cecil Westerhof <Cecil@decebal.nl> - 2016-08-12 10:34 +0200
Re: Restricting the memory usage of a Java program Martin Gregorie <martin@address-in-sig.invalid> - 2016-08-12 10:08 +0000
Re: Restricting the memory usage of a Java program Arne Vajhøj <arne@vajhoej.dk> - 2016-08-12 09:23 -0400
Re: Restricting the memory usage of a Java program Cecil Westerhof <Cecil@decebal.nl> - 2016-08-13 01:11 +0200
Re: Restricting the memory usage of a Java program Cecil Westerhof <Cecil@decebal.nl> - 2016-08-13 02:52 +0200
Re: Restricting the memory usage of a Java program Arne Vajhøj <arne@vajhoej.dk> - 2016-08-12 21:05 -0400
Re: Restricting the memory usage of a Java program Arne Vajhøj <arne@vajhoej.dk> - 2016-08-11 18:24 -0400
csiph-web