[Java:] How to determine the memory installed on a machine ?

Hi,

Does anybody know, how I can determine the amount of memory installed on a user's machine ? System properties does not seem to include such a value.

We want to set some default values based on the memory available on the machine.

Best regards

Thomas Gülden
Munich, Germany

3 comments
Comment actions Permalink

Right-click on Arbeitsplatz, Eigenschaften should display it.

Tom

0
Comment actions Permalink

Hi Thomas,

I was not clear enough. I want to determine the installed memory from within a Java program. - Is this possible to your knowledge ?

Regards

Thomas Gülden
Munich, Germany

0
Comment actions Permalink

I want to determine the installed memory from within a Java program. - Is this possible to your knowledge ?


No, I guess, not without changes. Only this idea: the native launcher
could set a system variable...

Tom

0

Please sign in to leave a comment.