pydio / pydio-sync-java

[DEPRECATED] Synchronization Client of the Pydio project. Based on the Java SDK.
GNU General Public License v3.0
35 stars 15 forks source link

Java exception after install sync v0.8.3 client and reboot #24

Closed rchunghk closed 11 years ago

rchunghk commented 11 years ago

Env: Win7 64-bit, Java 7 update 21 (32 + 64 bit) installed

After installation of sync client v0.8.3, reboot and login windows. Java exception window appeared. sync_java_error

Reason may be both 32bit and 64bit client links also added to "Startup", the system started 2 clients at the same time. sync

Workaround: delete one of the link from "Startup".

Thanks!

Java Error:

java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOf(Unknown Source)
    at sun.misc.Resource.getBytes(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.sqlite.NestedDB._open(NestedDB.java:58)
    at org.sqlite.DB.open(DB.java:86)
    at org.sqlite.Conn.open(Conn.java:140)
    at org.sqlite.Conn.<init>(Conn.java:57)
    at org.sqlite.JDBC.connect(JDBC.java:67)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at com.j256.ormlite.jdbc.JdbcConnectionSource.makeConnection(JdbcConnectionSource.java:232)
    at com.j256.ormlite.jdbc.JdbcConnectionSource.getReadWriteConnection(JdbcConnectionSource.java:174)
    at com.j256.ormlite.jdbc.JdbcConnectionSource.getReadOnlyConnection(JdbcConnectionSource.java:160)
    at com.j256.ormlite.stmt.StatementExecutor.buildIterator(StatementExecutor.java:189)
    at com.j256.ormlite.stmt.StatementExecutor.query(StatementExecutor.java:153)
    at com.j256.ormlite.dao.BaseDaoImpl.query(BaseDaoImpl.java:245)
    at com.j256.ormlite.stmt.QueryBuilder.query(QueryBuilder.java:250)
    at com.j256.ormlite.stmt.Where.query(Where.java:476)
    at com.j256.ormlite.dao.BaseDaoImpl.queryForEq(BaseDaoImpl.java:225)
    at info.ajaxplorer.synchro.Manager.listSynchroNodes(Manager.java:648)
    at info.ajaxplorer.synchro.Manager.initScheduler(Manager.java:668)
    at info.ajaxplorer.synchro.Manager.main(Manager.java:184)
cdujeu commented 11 years ago

OutOfMemory error, we have to change the .ini default values to let the java process gain more memory (see AjaXplorerSynchronizer.ini in the program folder, change -Xmx16m to -Xmx32m and relaunch.