add virtual memory management

	with memory leak