java.lang.AssertionError

java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: An attempt was made to allocate more off-heap memory than the JVM can allow. The limit on off-heap memory size is given by the -XX:MaxDirectMemorySize command (or equivalent).

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • via Unknown by suvigy,
  • Stack trace

    • java.lang.AssertionError: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: An attempt was made to allocate more off-heap memory than the JVM can allow. The limit on off-heap memory size is given by the -XX:MaxDirectMemorySize command (or equivalent). at com.tc.objectserver.persistence.Persistor.start(Persistor.java:76) at com.tc.objectserver.persistence.RestartablePersistor.start(RestartablePersistor.java:34) at com.tc.objectserver.impl.DistributedObjectServer.start(DistributedObjectServer.java:517) at com.tc.server.TCServerImpl.startDSOServer(TCServerImpl.java:562) at com.tc.server.TCServerImpl.access$600(TCServerImpl.java:100) at com.tc.server.TCServerImpl$StartAction.execute(TCServerImpl.java:500) at com.tc.lang.StartupHelper.startUp(StartupHelper.java:38) at com.tc.server.TCServerImpl.startServer(TCServerImpl.java:545) at com.tc.server.EnterpriseServerImpl.startServer(EnterpriseServerImpl.java:78) at com.tc.server.TCServerImpl.start(TCServerImpl.java:309) at com.tc.server.TCServerMain.main(TCServerMain.java:30) Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentExc eption: An attempt was made to allocate more off-heap memory than the JVM can al low. The limit on off-heap memory size is given by the -XX:MaxDirectMemorySize c ommand (or equivalent). at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252) at java.util.concurrent.FutureTask.get(FutureTask.java:111) at com.tc.objectserver.persistence.Persistor.start(Persistor.java:74) ... 10 more Caused by: java.lang.IllegalArgumentException: An attempt was made to allocate more off-heap memory than the JVM can allow. The limit on off-heap memory size is given by the -XX:MaxDirectMemorySize command (or equivalent). at com.terracottatech.offheapstore.paging.UpfrontAllocatingPageSource.<init>(UpfrontAllocatingPageSource.java:118) at com.terracottatech.offheapstore.paging.UpfrontAllocatingPageSource.<init>(UpfrontAllocatingPageSource.java:96)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.