How to make ehcache to work with teamcity?

Hi all,

I have a server with 712M of RAM running teamcity.

Everything went fine until I added ehcache.jar in my java web application. Already before I started using this library for anything in my classes, teamcity reported out of memory on any new build.

I have been playing with maxBytesLocalHeap parameter in ehcache.xml file, however it does not seem to make any difference. I have set it to 64M at the moment and teamcity is still running out of memory.

Anyone have any ideas how I can get ehcache working? Anyone else faced similar issues?

Thank you for your help in advance.

Regards,

Olli

Please sign in to leave a comment.