Occurrence:
The following error message is displayed when printing to 3D PDF, gridding a larger GDB, or performing other memory intensive functions:
"Request for x bytes of memory failed. The maximum amount of memory available to this application is exceeded. The memory may also be fragmented. To clear fragmented memory, it may work to exit the application and start again."
Resolution:
The error message indicates that you are running out of contiguous blocks of memory on your system.
Your temp folder may be full and could be causing the error. When running a Geosoft application, all temporary memory used is processed in a temp folder which is usually located in C:\Users\{USER NAME}\AppData\Local\temp (unless the Temporary File Directory was manually moved in the General Settings). When the program starts this folder should be almost completely empty. During processing, this folder starts to accumulate temporary processing files. When the program is closed the contents of the temp folder are deleted. However, if you experience an abnormal program exit, the program isn't given the opportunity to delete these temporary processing files and they remain in memory clogging up the available memory for processing.
There are a few things you can try to free up memory.
Clear the temp folder:
- Close Oasis montaj if open.
- Open Windows Explorer and go to C:\Users\{USER NAME}\AppData\Local\temp
- Delete the contents of this folder.
You could also try running a defrag on your hard drive.
The exact steps may differ for each version of Windows. For Windows 10 they are:
- Select the search bar on the taskbar and enter defrag.
- Select Defragment and Optimize Drives.
- Select the disk drive you want to optimize.
- Select the Optimize button.
Related Article: