Maximum heap space constraints in java
        Posted  
        
            by Christian
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Christian
        
        
        
        Published on 2010-04-06T09:20:16Z
        Indexed on 
            2010/04/06
            9:23 UTC
        
        
        Read the original article
        Hit count: 281
        
java
I have a program that needs a lot of memory and want to set the maximum heap space at 6024MB. Java gives me the error:
Invalid maximum heap size: -Xmx6024m
The specified size exceeds the maximum representable size.
Is there a workaround?
© Stack Overflow or respective owner