pdw, you are exactly right. I can now use (for limit testing, 'man
java' says the defaults are 8m and 24m)
user.javaargs=-Xms8m -Xmx8m
And to see the command line, since it's so frikken long, use 'ps -ef
--width 254'
Also, I really like the idea of setting min size = max size for
servers. I'm using a custom cache in our system, and by specifying
these limits it seems I can insulate better from other processes' troubles.
Thanks, BenG.
pdw wrote:
> I don't think what you have there is correct, I don't think it should be
> inside the curly braces, as far as I can tell those seem to be for variables
> that jrun will substitute a value for. And I don't think you should have a
> comma in there, it should be a space. I think JRun just concatenates this
> onto the java command line as-is.
>
> The values must be a multiple of 1024 greater than 1MB, but you are
> appending an "m" for megabytes so you don't need to worry about that. For
> servers it is usually recommended to set the min and max equal to each
> other.
>
> http://java.sun.com/j2se/1.3/docs/tooldocs/linux/java.html
>
> As for how to see it, if you are using linux/unix, just do ps -ef, you'll
> see the command line arguments. on windows... well... get cygwin
> command-line tools then do ps -ef :)
>
>
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: "JRun-Talk" <[EMAIL PROTECTED]>
> Sent: Thursday, March 22, 2001 3:53 PM
> Subject: RE: How To Increase JVM Size
>
>
>> Hey Ben. Your settings are correct, so you can be sure that it's working.
>> The JVM is highly sensitive to its args. If there is even a slight
>
> problem,
>
>> it won't start.
>>
>> As for seeing it, you could turn on metrics in the JRun logging mechanism
>> and then view your event log. That'll show a heap= measure, which will
>
> tell
>
>> you the heap size.
>>
>> One thing you might watch out for are the actual numbers you use. I
>
> believe
>
>> the numbers must be a multiple of a standard memory size, but I don't
>> remember if it's 32 or 64 or something. So, if I'm remembering correcly
>
> and
>
>> this is true, I'm not sure how the JVM would react to an odd number like
>
> 48.
>
>> HTH,
>> Patrick Quinn
>> Macromedia Consulting
>>
>> -----Original Message-----
>> From: Ben Groeneveld
>> To: JRun-Talk
>> Sent: 3/22/01 9:02 AM
>> Subject: How To Increase JVM Size
>>
>> What would be the proper way to increase the size of the jrun java vm.
>> I have tried the following in local.properties, but I don't see an
>> obvious way to verify that this is actually working:
>>
>> user.javaargs={-Xms24m,-Xmx48m}
>>
>> --
>> Ben Groeneveld
>> Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
>> Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488
>>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists