Message 1 of 2
memory problem
Not applicable
07-28-2008
02:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
My script keeps running out of memory. I have turned off undo, deleted construction history and I clear my arrays after every use to free memory. Does anyone know what might be causing this and/or how to flush the memory? Below is the info from the output window, hope it helps.
mental ray for Maya 9.0
mental ray: version 3.6.1.6, 17 Jul 2007, revision 21668
====================================
Cause of memory exception
====================================
74.195 Mb Free Memory
5.047 Mb Free Swap
1.890 Mb Size of alloc
10.000 Mb Low Memory Threshold
====================================
Memory use when exception was thrown
====================================
====================================
8639423 Page faults
7667.793 Mb Max resident size
23275.891 Mb Peak total size(Estimated)
3640.245 Mb Peak arena size
====================================
23277.738 Mb Current
675.414 Mb Object Arrays
2504.803 Mb Arrays
395.379 Mb POLY_DRAW_CACHE_DATA
9.072 Mb Transforms
42.969 Mb MEL
36.424 Mb Data Blocks
0.135 Mb arguments
1.958 Mb POLY_DRAW_CACHE_STATIC_DATA
0.125 Mb Keys
====================================
mental ray for Maya 9.0
mental ray: version 3.6.1.6, 17 Jul 2007, revision 21668
====================================
Cause of memory exception
====================================
74.195 Mb Free Memory
5.047 Mb Free Swap
1.890 Mb Size of alloc
10.000 Mb Low Memory Threshold
====================================
Memory use when exception was thrown
====================================
====================================
8639423 Page faults
7667.793 Mb Max resident size
23275.891 Mb Peak total size(Estimated)
3640.245 Mb Peak arena size
====================================
23277.738 Mb Current
675.414 Mb Object Arrays
2504.803 Mb Arrays
395.379 Mb POLY_DRAW_CACHE_DATA
9.072 Mb Transforms
42.969 Mb MEL
36.424 Mb Data Blocks
0.135 Mb arguments
1.958 Mb POLY_DRAW_CACHE_STATIC_DATA
0.125 Mb Keys
====================================