[Logo] Jaikoz and SongKong Forums
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Out of Memory Errors running Songkong Headless  XML
Forum Index -> SongKong Issues
Author Message
Astal

Enthusiast
[Avatar]

Joined: 01/10/2010 23:45:30
Messages: 10
Offline

Code:
 java.lang.OutOfMemoryError: Java heap space
 An unexpected error has occurred Java heap space on thread C3P0PooledConnectionPoolManager[identityToken->z8kfsx9x10oq92x140ofng|3a2b2322]-AdminTaskTimer, please report to support @jthink.net
 
 


Anything I should try to resolve this issue?
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7510
Offline

Can you send me your support files please (Help:Create Support Files), are you using the standard songkong.sh file or not, I wonder if you are not setting memory allocation correctly (-Xmx option)

thanks Paul (Administrator)
Astal

Enthusiast
[Avatar]

Joined: 01/10/2010 23:45:30
Messages: 10
Offline

Hi Paul!

I'm still receiving this error with the headless version when executing songkong.sh:

Code:
 You have attempted to start in GUI mode but your environment does not support using the GUI
 


I changed my memory allocation settings as follows for songkongremote.sh:
Code:
 jre64/bin/java -Xms1024m -Xmx4096m -jar lib/songkong-5.8.jar -r
 


..and the job completed but I wouldn't say successfully as it did not appear to read *any* of the files. Since I'm no longer receiving OOM errors, should I open the processing issue in another thread (which appears to be database related after looking at the debug logs a bit more closely)?

EDIT: Deleting the database manually (not from the web UI, that simply hung), fixed the issue. Songs are matching.
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7510
Offline

Well yes songkong.sh always run in gui mode, headless install just relates tro the install. I looked at your logs and I think I think the lack of memory then corrupted the database, if Empty Database fails the best thing to do is just restart and let SongKong sort out database recreation on startup but I am glad you have now resolved it.

thanks Paul (Administrator)
 
Forum Index -> SongKong Issues
Go to:   
Powered by JForum 2.1.6 © JForum Team