My android app need a lot of arrays. To prevent GC, I started to use Javolution.arrayFactory.
But if I alloc
memory in one thread calling like following.
byte []buffer = ArrayFactory.BYTES_FACTORY.array(size);
And free it in another thread like following.
ArrayFactory.BYTES_FACTORY.recycle(buffer);
Then It couse memory leak. I need library or just class which realize array's pool.