final Address address;
MemoryRawData(int size) {
try {
final ResourceManager rm = InitialNaming.lookup(ResourceManager.NAME);
final ResourceOwner owner = new SimpleResourceOwner("java.nio");
this.resource = rm.claimMemoryResource(owner, null, size,
ResourceManager.MEMMODE_NORMAL);
this.address = resource.getAddress();
} catch (NameNotFoundException ex) {
throw new Error("Cannot find ResourceManager", ex);