WebCache Memory Keeps Growing To Unexpected Sizes
Last updated on JUNE 21, 2017
Applies to:Web Cache - Version 126.96.36.199.0 to 188.8.131.52.0 [Release Oracle11g]
Sun SPARC Sun OS
Webcache suffers a gradual consumes memory to the point where the whole machine's RAM is taken up leaving the system unusable.
This happens regardless of the configured cache size, and no real load is required - it will just leak memory over time.
This can be seen in the memory statistics available in the WebCache administration console.
Typically you will see after a restart of the cache that the Current Allocated memory is much lower than the configured maximum, and "Size of Objects in Cache" is also very low , for example :
Size of Objects in Cache: 1.88 MB Total Bytes Served: 331 MB Total Bytes Saved By Compression: 30.5 MB Current Number of Open Connections: 2 Configured Maximum Cache Size: 500 MB Current Allocated Memory: 910 MB Current Action Limit: 475 MB Some days later it will be noticed that 'Current Allocated Memory' has grown enormously where the 'Size of Objects in the Cache' has hardly grown much at all :
Size of Objects in Cache: 8.95 MB Total Bytes Served: 524 MB Total Bytes Saved By Compression: 75.3 MB Current Number of Open Connections: 2 Configured Maximum Cache Size: 500 MB Current Allocated Memory: 2.23 GB Current Action Limit: 475 MB
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms