0

I'm using a Windows 7 PC and i want to increase my java heap size but not for an application So the command java -xmx4g e.g. is not possible. I want to increase the java heap size in generel. Is this somehow possible? I appreciate every answer.

Sorry for my bad english

PS: I'm using 64-bit JVM on a 64-bit Win 7 PC commands -java Xmx6G and set JAVA_OPTS=-Xms1024M -Xmx6144M does not work even when writing it in the startup.bat I get the error in a program that consists of 10 same steps the first 4 are no problem but after the 4th i get the error. Error: javax.xml.ws.soap.SOAPFaultException: Java heap space

Best regards, Eros Kilinc

trincot
  • 317,000
  • 35
  • 244
  • 286
  • So you want to change the default value for the maximum heap size on your machine? – isnot2bad Nov 20 '13 at 14:22
  • Related : [Maximum Java Heap Size of a 32 bit JVM on a 64 bit OS](http://stackoverflow.com/questions/1434779/maximum-java-heap-size-of-a-32-bit-jvm-on-a-64-bit-os) – abronan Nov 20 '13 at 15:05

1 Answers1

0

It's only possible on 64-bit JVM and 64-bit Windows, on 32-bit JVM / PC max heap size is about 1.2M

Evgeniy Dorofeev
  • 133,369
  • 30
  • 199
  • 275