Jump to content

Featured Replies

Posted
comment_16556

Hi all, i wanted to test this server out for inferno so bad but had this error when running the server -

 Jan 16, 2018 5:41:38 AM com.ruseps.GameServer main INFO: Initializing the loader... Exception in thread "GameLoadingThread" java.lang.OutOfMemoryError: Java heap space at sun.text.resources.FormatData.getContents(Unknown Source) at sun.util.resources.ParallelListResourceBundle.loadLookupTablesIfNecessary(Unknown Source) at sun.util.resources.ParallelListResourceBundle.handleKeySet(Unknown Source) at sun.util.resources.ParallelListResourceBundle.keySet(Unknown Source) at sun.util.resources.ParallelListResourceBundle.containsKey(Unknown Source) at sun.util.resources.ParallelListResourceBundle$KeySet.contains(Unknown Source) at sun.util.resources.ParallelListResourceBundle.containsKey(Unknown Source) at sun.util.resources.ParallelListResourceBundle$KeySet.contains(Unknown Source) at sun.util.resources.ParallelListResourceBundle.containsKey(Unknown Source) at sun.util.locale.provider.LocaleResources.getDecimalFormatSymbolsData(Unknown Source) at java.text.DecimalFormatSymbols.initialize(Unknown Source) at java.text.DecimalFormatSymbols.<init>(Unknown Source) at sun.util.locale.provider.DecimalFormatSymbolsProviderImpl.getInstance(Unknown Source) at java.text.DecimalFormatSymbols.getInstance(Unknown Source) at java.util.Formatter.getZero(Unknown Source) at java.util.Formatter.<init>(Unknown Source) at java.util.Formatter.<init>(Unknown Source) at java.lang.String.format(Unknown Source) at com.google.common.util.concurrent.ThreadFactoryBuilder$1.newThread(ThreadFactoryBuilder.java:164) at java.util.concurrent.ThreadPoolExecutor$Worker.<init>(Unknown Source) at java

 

I see that there is not enough memory but what does this mean please and how can i fix it please?

  • 8 months later...
comment_23759

The server is requesting more memory than the jvm has been allocated, this can be fixed by setting the parameter in the projects run configuration VM options, run it with the argument 

-Xmx1g

That will set the max heap size to 1GB more than enough to run a server.

  • 1 year later...

Create an account or sign in to comment