Is Java serialization a tool to shrink the memory footprint?
Posted
by Pentius
on Stack Overflow
See other posts from Stack Overflow
or by Pentius
Published on 2010-05-27T08:03:11Z
Indexed on
2010/05/27
10:01 UTC
Read the original article
Hit count: 230
Hey folks,
does serialization in Java always have to shrink the memory that is used to hold an object structure? Or is it likely that serialization will have higher costs?
In other words: Is serialization a tool to shrink the memory footprint of object structures in Java?
Edit
I'm totally aware of what serialization was intended for, but thanks anyway :-)
But you know, tools can be misused. My question is, whether it is a good tool to decrease the memory usage.
So what reasons can you imagine, why memory usage should increase/decrease? What will happen in most cases?
© Stack Overflow or respective owner