/* Structure to hold run time information about a midlet. */
RuntimeInfo runtimeInfo = new RuntimeInfo();
runtimeInfo.memoryTotal = task.totalMemory();
runtimeInfo.memoryReserved = task.reservedMemory();
runtimeInfo.usedMemory = task.usedMemory();
runtimeInfo.priority = task.getPriority();
// there is no Isolate API now
runtimeInfo.profileName = null;
saveRuntimeInfoInNative(runtimeInfo);