GMOD / docker-apollo

:whale: Apollo 2.X Docker Image
GNU General Public License v3.0
10 stars 12 forks source link

increase default docker memory and tomcat memory #42

Closed nathandunn closed 5 years ago

nathandunn commented 5 years ago

Notes:

https://stackoverflow.com/questions/29923531/how-to-set-java-heap-size-xms-xmx-inside-docker-container https://stackoverflow.com/questions/29923531/how-to-set-java-heap-size-xms-xmx-inside-docker-container

Upload is really slow.

nathandunn commented 5 years ago

Memory lockup is here:

image

nathandunn commented 5 years ago
*** java.lang.instrument ASSERTION FAILED ***: "!errorOutstanding" with message can't create byte arrau at JPLISAgent.c line: 813
Exception in thread "PostgreSQL-JDBC-SharedTimer-1" java.lang.OutOfMemoryError: Java heap space
    at java.io.BufferedOutputStream.<init>(BufferedOutputStream.java:76)
    at org.postgresql.core.PGStream.changeSocket(PGStream.java:122)
    at org.postgresql.core.PGStream.<init>(PGStream.java:62)
    at org.postgresql.core.QueryExecutorBase.sendQueryCancel(QueryExecutorBase.java:158)
    at org.postgresql.jdbc.PgConnection.cancelQuery(PgConnection.java:1049)
    at org.postgresql.jdbc.PgStatement.cancel(PgStatement.java:814)
    at org.postgresql.jdbc.PgStatement$1.run(PgStatement.java:882)
    at java.util.TimerThread.mainLoop(Timer.java:555)
    at java.util.TimerThread.run(Timer.java:505)
nathandunn commented 5 years ago

I think it was inadvertently running to many dud processes in the background and subsequent docker files have fixed this.