Path: csiph.com!aioe.org!.POSTED!not-for-mail From: =?UTF-8?Q?Arne_Vajh=c3=b8j?= Newsgroups: comp.lang.java.programmer Subject: Re: Restricting the memory usage of a Java program Date: Fri, 12 Aug 2016 21:05:05 -0400 Organization: Aioe.org NNTP Server Lines: 11 Message-ID: References: <8760r7m18z.fsf@Equus.decebal.nl> <87wpjml720.fsf@Equus.decebal.nl> <87fuq9lgzr.fsf@Equus.decebal.nl> NNTP-Posting-Host: 7SK6yTFfqwlIPNBLl3l7Qg.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.java.programmer:35285 On 8/12/2016 7:11 PM, Cecil Westerhof wrote: > By the way: there is now way to get the value for minMemory? That info is water under the bridge. But if you really want it then look at: ManagementFactory.getRuntimeMXBean().getInputArguments() Arne