java.lang.OutOfMemoryError: unable to create new native thread
Submitted by Friday, 3 August, 2012 - 20:42
on
Something has happened with our company linux cluster recently. I think they've limited the number of user threads or at the very least, have significantly reduced it. In either case, resizing the jedit window will consistently cause:
1:32:20 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: Exception in thread "AWT-EventQueue-0"
1:32:20 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: java.lang.OutOfMemoryError: unable to create new native thread
1:32:20 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.lang.Thread.start0(Native Method)
1:32:20 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.lang.Thread.start(Unknown Source)
1:32:20 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventQueue.initDispatchThread(Unknown Source)
1:32:20 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventDispatchThread.run(Unknown Source)
Unfortunately, I do not have admin access nor do I think IT will change their policy just so I can use jedit. So my question would be, is there a way to find out what the maximum thread/nproc limit is for my user account and is there a way to limit how many threads jedit spawns?
1:32:20 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: Exception in thread "AWT-EventQueue-0"
1:32:20 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: java.lang.OutOfMemoryError: unable to create new native thread
1:32:20 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.lang.Thread.start0(Native Method)
1:32:20 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.lang.Thread.start(Unknown Source)
1:32:20 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventQueue.initDispatchThread(Unknown Source)
1:32:20 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventDispatchThread.run(Unknown Source)
Unfortunately, I do not have admin access nor do I think IT will change their policy just so I can use jedit. So my question would be, is there a way to find out what the maximum thread/nproc limit is for my user account and is there a way to limit how many threads jedit spawns?