O
opalpa
Is there an ArrayList that uses file system instead of RAM?
That is, when I add an item, which is Serializable, I would like the
ArrayList to serialize item to file system and keep a reference to
where it put item. When I get the item I want it to be read from disk,
de-serialized, and passed to me.
The reason is I have over a gigabyte of data in ArrayList and it will
be over two gigabytes within a couple of months. The problem with
using this much space is that java process size is not allowed to grow
that large.
Opalinski
(e-mail address removed)
http://www.geocities.com/opalpaweb/
That is, when I add an item, which is Serializable, I would like the
ArrayList to serialize item to file system and keep a reference to
where it put item. When I get the item I want it to be read from disk,
de-serialized, and passed to me.
The reason is I have over a gigabyte of data in ArrayList and it will
be over two gigabytes within a couple of months. The problem with
using this much space is that java process size is not allowed to grow
that large.
Opalinski
(e-mail address removed)
http://www.geocities.com/opalpaweb/