Out of Memory Error.
Posted: Thu May 29, 2025 11:39 am
God, I want to find an alternative to UMS.
Oh... "Increase Heap size" you say...
Already did that:
WHAT COULD UMS POSSIBLY BE DOING TO CONSUME 8 GIGABYTES of space????
I can't stream a single movie to completion before UMS craps out. It's been this way for several versions now and, as you can see from my post history, just another entry in a long line of this program just throws out exceptions.
Code: Select all
ERROR 23:34:10.976 [GuiManager Memory Usage Updater] Database error on getting memory cache size
org.h2.jdbc.JdbcSQLNonTransientConnectionException: The database has been closed [90098-232]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:690)
at org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
at org.h2.message.DbException.get(DbException.java:212)
at org.h2.engine.SessionLocal.getTransaction(SessionLocal.java:1616)
at org.h2.engine.SessionLocal.startStatementWithinTransaction(SessionLocal.java:1637)
at org.h2.command.Command.executeQuery(Command.java:190)
at org.h2.jdbc.JdbcPreparedStatement.executeQuery(JdbcPreparedStatement.java:130)
at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeQuery(ProxyPreparedStatement.java:52)
at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeQuery(HikariProxyPreparedStatement.java)
at net.pms.database.DatabaseEmbedded.getCacheSize(DatabaseEmbedded.java:319)
at net.pms.database.MediaDatabase.getCacheSize(MediaDatabase.java:282)
at net.pms.gui.GuiManager.updateMemoryUsage(GuiManager.java:321)
at net.pms.gui.GuiManager.lambda$static$1(GuiManager.java:351)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.h2.mvstore.MVStoreException: java.lang.OutOfMemoryError: Java heap space [2.3.232/3]
at org.h2.mvstore.DataUtils.newMVStoreException(DataUtils.java:996)
at org.h2.mvstore.MVStore.tryExecuteUnderStoreLock(MVStore.java:941)
at org.h2.mvstore.RandomAccessStore.doHousekeeping(RandomAccessStore.java:729)
at org.h2.mvstore.FileStore.writeInBackground(FileStore.java:1841)
at org.h2.mvstore.FileStore$BackgroundWriterThread.run(FileStore.java:2256)
Caused by: java.lang.OutOfMemoryError: Java heap space
Already did that:
Code: Select all
nas@ums:~$ ps -elf | grep java
0 S nas 196742 196741 0 80 0 - 4759322 futex_ 22:32 pts/2 02:27:41 jre17/bin/java [b]-Xmx8G[/b] -Xss2048k -Dfile.encoding=UTF-8 -Djava.net.preferIPv4Stack=true -Djna.nosys=true -classpath update.jar:ums.jar net.pms.PMS
0 S nas 214885 214867 0 80 0 - 1769 pipe_r 23:36 pts/3 00:00:00 grep --color=auto java
I can't stream a single movie to completion before UMS craps out. It's been this way for several versions now and, as you can see from my post history, just another entry in a long line of this program just throws out exceptions.