Hi, @seyeony! I see OutOfMemoryError in your stack trace.
How many objects are you trying to load in cache? Maybe you should switch to OFFHEAP_TIERED mode? See: https://apacheignite.readme.io/docs/off-heap-memory#offheap_tiered Also could you attach your config, logs from all nodes and describe how you are starting grid? How many heap your give to nodes? How many object you were able to load without OOME? On Wed, Sep 7, 2016 at 11:50 AM, seyeony <[email protected]> wrote: > Hi Alexey, > Thank you for your advices. > I tried to test with the latest night build as you guided. Also I replaced > the BasicJdbcDialect with MySQLDialect. It looked much better. > However when I tested with large datasets, I got the message as follows. > I guess I need more memory. > By the way, what means the 'networkTimeout' ? > Is it OK if I set bigger value for the networkTimeout ? > > - sy > > Messages I got: > == the client side == > >>> Loading entries from database. > [13:02:19] New version is available at ignite.apache.org: 1.7.0 > [13:09:15,181][SEVERE][tcp-client-disco-reconnector-#5% > null%][TcpDiscoverySpi] > Failed to reconnect to cluster (consider increasing 'networkTimeout' > configuration property) [networkTimeout=5000] > == the server side == > [13:09:36,831][SEVERE][tcp-disco-sock-reader-#7%null%][TcpDiscoverySpi] > Runtime error caught during grid runnable execution: Socket reader [id=107, > name=tcp-disco-sock-reader-#7%null%, nodeId=null] > java.lang.OutOfMemoryError: Java heap space > at java.io.BufferedInputStream.<init>(BufferedInputStream. > java:203) > at > org.apache.ignite.spi.discovery.tcp.ServerImpl$ > SocketReader.body(ServerImpl.java:5253) > at > org.apache.ignite.spi.IgniteSpiThread.run(IgniteSpiThread.java:62) > Exception in thread "tcp-disco-sock-reader-#7%null%" > java.lang.OutOfMemoryError: Java heap space > > > > > -- > View this message in context: http://apache-ignite-users. > 70518.x6.nabble.com/CacheJdbcPojoStore-with-MariaDB-tp7538p7573.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. > -- Alexey Kuznetsov GridGain Systems www.gridgain.com
