Memory management methods

You can use the following memory management method in your UDXs:
int getMemory();