public int getSize() {
            return size;
        }
Creates a new LocalMem instance

@param size the size of the available shared memory in bytes
jme3-core/src/main/java/com/jme3/opencl/Kernel.java