Command
QisLib_SetLoadMemory

QisLib_SetLoadMemory

Function:
	int QisLib_SetLoadMemory(int OnOff);

Inputs:
	_QIS_ON (On) or _QIS_OFF(Off)

Return:
	success: 0
	failure: one of the following values :

Errors:
	-1: File open in progress, operation not permitted.

Description:
	- When turned ON, the GDSII/OASIS file is loaded into the memory.
	- If set to on, QisLib will use more memory after file open and will be faster if
	there is sufficient RAM.
	- If set to off QisLib will use less memory after file open but will be slower.
	- This is necessary if the file is to be edited.
	- This is also necessary for creating memory maps that can be opened directly using
	the function QisLib_OpenMemoryMaps.
	- This function is effective only if called before QisLib_OpenGDSII, QisLib_OpenOASIS,
	QisLib_OpenMemoryMaps, QisLib_ReloadGDSII or QisLib_ReloadOASIS.
	- When memory maps are created, the SetLoadMemory setting is saved in the load memory
	map file. When this load memory file is subsequently used via QisLib_OpenGDSII, if
	the SetLoadMemory setting is different than the one saved in the memory map file,
	then the memory map will not be used.
	- For QisLib_OpenMemoryMaps, the QisLib_SetLoadMemory setting does not have to be the
	same as the setting remembered in the memory map file.
	- Default is _QIS_OFF (Off).

References:
QisLib_OpenGDSII
QisLib_OpenOASIS
QisLib_OpenMemoryMaps
QisLib_ReloadOASIS
QisLib_ReloadGDSII