I am running 64 bit Java on 64 bit Windows.

I am aware that I can allocate a higher memory limit
to 64 bit Java via the -Xmx switch.

Is it possible to successfully update this in memory by adjusting a
property in memory, and not via the particular of accessing
a command line switch, or not?

For reasons I'm not sure about, the following code does not
behave as intended:

Properties properties = System.getProperties();

+ " -Xmx8000m");


LinkedList<Object> list = new LinkedList<Object>();

list.add(new Object());