Ali Hassani, from your email:
"I used gc() to free the occupied memory. kernelopts(gcbytesreturned) showed that about 3 Gb of memory is released. I also invoked "forget" procedure to remove the table remember of all procedures, however any memory was not freed in windows task manager. another reason for being not freed any memory is that the virtual memory of windows which became active (bacause of lacking memory) is yet active after invoking gc(). I am confused. Please guide me."
I don't know the exact details of the internal workings of the maple memory system so the following is speculative.
Calling gc() frees up memory that has been allocated but is no longer in use. This doesn't mean that the freed memory is returned to the operating system (e.g., Windows), but it will prevent Maple from requesting more memory from the operating system which may have to use virtual memory to satisfy the request.
Other options for memory intensive programs are to use the Classic Worksheet interface or the Command-line interface.
"The Classic Worksheet provides a basic worksheet environment for older computers with limited memory. The Classic Worksheet is available on 32-bit Windows and 32-bit Linux platforms."
"The Command-line version does not include graphical user interface features, but this method is recommended when solving very large complex problems or using scripts for batch processing."
"To access the Command-line version in UNIX or Macintosh, use the maple command. In Windows, use the cmaple command."