I am facing an OutOfMemory issue during full build of resources in the project. Actually few files are of big size due to which OOM is thrown.
Went through the code & saw it clears the resource set as per the IResourceClusteringPolicy. As per the default policy it checks whether 15% Mb is available or not, otherwise clear the resource set while creating new resource description. As per this policy it does not check the size of the file to be loaded but expects 15% to be available.
Let me know for following stuffs:
- Is there some other way to make a full build?
- How can I inject my own clustering policy or how can i inject minimumPercentFreeMemory. I tried injecting both of them but in vain.