How can i fix this?

Thoughts, Help, Feature Requests, Bug Reports, Developing code for...

Moderators: dorpond, trevor, Azhrei

Forum rules
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior. :)
Post Reply
serein
Kobold
Posts: 2
Joined: Thu Jan 28, 2016 1:16 pm

How can i fix this?

Post by serein »

Code: Select all

java.lang.OutOfMemoryError: unable to create new native thread
	at java.lang.Thread.start0(Native Method)
	at java.lang.Thread.start(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.addWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.execute(Unknown Source)
	at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
	at net.rptools.lib.sound.SoundPlayer.play(SoundPlayer.java:81)
	at net.rptools.lib.sound.SoundPlayer.play(SoundPlayer.java:44)
	at net.rptools.lib.sound.SoundManager.playSoundEvent(SoundManager.java:87)
	at net.rptools.maptool.client.MapTool.playSound(MapTool.java:505)
	at net.rptools.maptool.client.ui.commandpanel.MessagePanel$5.run(MessagePanel.java:233)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at net.rptools.maptool.client.swing.MapToolEventQueue.dispatchEvent(MapToolEventQueue.java:36)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)

User avatar
wolph42
Winter Wolph
Posts: 9999
Joined: Fri Mar 20, 2009 5:40 am
Location: Netherlands
Contact:

Re: How can i fix this?

Post by wolph42 »

Do you have any context? It appears to be a memory issue and usually this is when people launch maptool incorrectly, but without context is hard to tell

serein
Kobold
Posts: 2
Joined: Thu Jan 28, 2016 1:16 pm

Re: How can i fix this?

Post by serein »

Maptool b91, Run it with launcher-130829.01

Max memory 1024
Min memory 1024
Stack size 8

Other Settings: default

This error occurred to me after i run maptool roughly 2 hours.

User avatar
Full Bleed
Demigod
Posts: 4736
Joined: Sun Feb 25, 2007 11:53 am
Location: FL

Re: How can i fix this?

Post by Full Bleed »

serein wrote:Maptool b91, Run it with launcher-130829.01

Max memory 1024
Min memory 1024
Stack size 8

Other Settings: default

This error occurred to me after i run maptool roughly 2 hours.
Change those settings to:
Max 1024
Min 64
Stack 4

And then check your Help>Gather Debug Information to make sure it's pretty accurate.

Also, check out the memory usage in the bottom right hand corner or your client and see how much memory you're using. If you're rising up to near your max, consider increasing the Max mem to around 1408 (if you're using 32 Bit Java) or 2048 if you've installed 64 bit Java (which I highly recommend if you have a 64 bit system).
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."

Post Reply

Return to “MapTool”