I need to deal with a large quantity of data ( list of items) each item is a class with large data .
In order to prevent any RAM problem i want to make a weak reference to each items.
I want to implement a weak reference that disposes an item only if 80-90 % of the Ram is used otherwise
it leaves the objects in memory.
If I just implement a weak reference most of the data is discharged from the RAM even if there are still plenty of RAM space.
Is there a simple way to acheave this without introducing eccessive overhead?
View Complete Post