Minimize application data memory overhead in Java processes
•
Java
I need to store a lot of data (objects) in memory (for calculation)
I just want to know if there are any libraries for this situation, or I need to start from scratch To better understand my needs, imagine a server that processes a large number of records and needs to analyze them based on millions of other records stored in memory (high processing rate)
Solution
For collection overhead, check out trove – their memory overhead is lower than that of built-in collection classes (especially for JDK map based mappings and collections)
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码