incubator-directmemory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Manzke (Commented) (JIRA)" <>
Subject [jira] [Commented] (DIRECTMEMORY-64) Serializer should directly write
Date Sun, 19 Feb 2012 23:38:35 GMT


Daniel Manzke commented on DIRECTMEMORY-64:

After a first look in the code, this will be hard, do to the fact, that you have to know the
size of your object. So DM can allocate the right amount of memory.

But I think this leads to a real problem, because you often don't know the size of an object.
Think about files, which will be uploaded in chunks, where the total count of bytes is unknown
and expect files.
> Serializer should directly write
> --------------------------------
>                 Key: DIRECTMEMORY-64
>                 URL:
>             Project: Apache DirectMemory
>          Issue Type: Wish
>            Reporter: Daniel Manzke
> The serializers are returning a byte[] which means, the value has to fit into the memory.
This also means, that DM can't be used for a file storage. The serializers should directly
write the object into the storage location.
> This would allow to use stuff like nio and other things.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message