ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Bench (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-1551) IgniteCache.put hangs indefinatly
Date Fri, 25 Sep 2015 14:40:04 GMT
James Bench created IGNITE-1551:

             Summary: IgniteCache.put hangs indefinatly
                 Key: IGNITE-1551
                 URL: https://issues.apache.org/jira/browse/IGNITE-1551
             Project: Ignite
          Issue Type: Bug
          Components: cache
         Environment: Ubuntu 14.04
java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)
Tomcat 7
            Reporter: James Bench

We have a process that pulls jobs from a queue and puts associated assets into a cache using

The object we put into the cache is an object holding a map of Enums and byte arrays.
private Map<AssetTypeEnum, byte[]> assets = new EnumMap<>(AssetTypeEnum.class);
We are using a UUID as the key.

The byte arrays can become quite large - the batch it was processing when the issue occurred
were up to 30mb in size.

The thread got stuck in {code}IgniteCache.put{code} and remained stuck for a few hours until
we restarted Tomcat.

I took a memory Snapshot using YourKit while the application was frozen (attached) which shows
the thread {{taskExecutorBean-3}} waiting in sun.misc.Unsafe.park. It has spent 100% of the
time I profiled here.

This message was sent by Atlassian JIRA

View raw message