render時出現 low memory exception, 請問除了加ram, 有什麼改善

各Maya用戶可在這裡交流問題和分享制作經驗

版主: h2o, stantang

render時出現 low memory exception, 請問除了加ram, 有什麼改善

文章posky » 15日 3月 2006年, 19:31

在下的電腦有2.5gb ram, 可是當我啟用ray tracing rendering, raytracing quality 設為:
reflection 1
refraction 1
shadow 2

可是還是出現low memory exception 而不能render, 請問除了加ram外, 有沒有什麼方法或option可以解決以上問題呢?

比如說增加render時間, 減少用ram <---- @v@ 胡亂說說

請各位高人救救我吧!! 感恩 m(_ _)m
posky
討論區新秀
討論區新秀
 
文章: 19
註冊時間: 23日 2月 2006年, 00:27

Share On:

Share on Facebook Facebook Share on Twitter Twitter

文章S'tephen » 15日 3月 2006年, 21:31

2.5gb

是指 CPU嗎?或是 2048 Mb ram + 512 Mb ram = 2.5gb ram ?

好奇一問,我不是太清楚error 是什麼。
頭像
S'tephen
CGV討論區會員
CGV討論區會員
 
文章: 1368
註冊時間: 5日 4月 2004年, 16:53

文章Vantage » 15日 3月 2006年, 21:44

你screencap你過scene同埋個error window俾大家看看, 可能會有幫助
Vantage
CGV討論區會員
CGV討論區會員
 
文章: 410
註冊時間: 4日 7月 2003年, 22:35

文章posky » 15日 3月 2006年, 23:09

S'tephen 寫:2.5gb

是指 CPU嗎?或是 2048 Mb ram + 512 Mb ram = 2.5gb ram ?



就是2000mb + 512mb ram

error message:
file -f -options "v=0" -typ "mayaBinary" -o "C:/Maya/house/scenes/新資料夾/render2.mb";addRecentFile("C:/Maya/house/scenes/新資料夾/render2.mb", "mayaBinary");
// File read in 11 seconds.
// Result: 1 //
// Error: An error has occurred. Rendering aborted. //
// Error: An exception has occurred, rendering aborted. //
// Error: Free memory is low. Memory exception thrown //

是兩間比較detail既屋同樹
vertice: 1472077
face: 1387869
附加檔案
SCREENDUMP.JPG
SCREENDUMP.JPG (136.47 KiB) 被瀏覽 7193 次
posky
討論區新秀
討論區新秀
 
文章: 19
註冊時間: 23日 2月 2006年, 00:27

文章Vantage » 15日 3月 2006年, 23:36

應該可以render的, 你試試淨系用一間屋試rend, 如果都有問題可能系你file 有問題bor
(用maya時再開埋icq,厲害!)
Vantage
CGV討論區會員
CGV討論區會員
 
文章: 410
註冊時間: 4日 7月 2003年, 22:35

文章posky » 15日 3月 2006年, 23:47

Vantage 寫:應該可以render的, 你試試淨系用一間屋試rend, 如果都有問題可能系你file 有問題bor
(用maya時再開埋icq,厲害!)


:D 一間屋無問題, 但系我想render曬成個畫面. 請問有無方法得config個maya render唔用咁多resource, 比如話ram, 去render個畫面架, 耐d都無問題, 最緊要佢肯render就得 Q_Q

(小聲說: 我仲bt緊 XD)

感恩!!!!
posky
討論區新秀
討論區新秀
 
文章: 19
註冊時間: 23日 2月 2006年, 00:27

文章HammerChugoh » 16日 3月 2006年, 01:03

you can separate your stuffs into different passes with hold out, then comp them together in comp software.
Houdini, please do the magic.
www.cgwiki.jot.com
HammerChugoh
CGV討論區會員
CGV討論區會員
 
文章: 272
註冊時間: 27日 7月 2002年, 06:50
來自: La La land

文章HammerChugoh » 16日 3月 2006年, 04:03

and In fact I want to bring up a point about renderer,

from my experience, for renderer like maya's native renderer or mental ray's built in ver, there are really not much you can do if you really need to have huge scenes with alot of detail or displacement map and it's particularly annoying when you are working in Windows environment. You might be able to get away from it by putting stuffs into layers and passes or bake stuff out. I am not sure if you can write a script to tell your renderer to render in tilted buffer but afterall prman offer much better feature on this area.

I'm not very good at using renderer, so more info will be welcome
Houdini, please do the magic.
www.cgwiki.jot.com
HammerChugoh
CGV討論區會員
CGV討論區會員
 
文章: 272
註冊時間: 27日 7月 2002年, 06:50
來自: La La land

文章johngalliano » 30日 3月 2006年, 01:23

maya6.0 0系 windows, 去到 1.7G 就瓜柴, 我使過經network save rendered image 會爆ram 而死,直接save 落local hard disk 就冇事。
你有冇試過張畫面見唔到d野 hide 曬,uncheck 埋double side? 又或者先render 一張細d 既睇嚇個scene 有冇咩問題。
maya document 話 有時sw renderer 會計錯用需要用幾多ram, 又話render command -tw and -th 呢兩個flag 可以限制 tile buffer from 16 to 256, 但系我試唔成功,but你可以試試得唔得。如果分咗pass都死, 又可以試嚇crop 個細area 來render, render 唔好開 filter, 用imgconvert (好似記錯名)自動幫你stitch 返一張大0既。寫個batch script 應該可以自動幫你搞掂曬,不過我唔多記得batch script d 寫法 lu,...
shadow maps 可以既話就 reuse,or rend 咗先,唔記得maya有冇option可以剩render shadow maps。
johngalliano
CGV討論區會員
CGV討論區會員
 
文章: 408
註冊時間: 10日 1月 2003年, 01:12

文章h2o » 30日 3月 2006年, 11:49

Which area u want to use raytracing? Do u have any displacement?

We always render raytracing in separate pass because it's really expensive.

I see u also use raytrace shadow in the scene, it's a much more expensive.... If u want to use raytrace shadow for the tree, I suggest u separate it also.

One more thing, it's better to render foreground & background objects separately. That will be easy to do a simple depth of field in compositing. :wink:
FB
My Lab
CG guy + Researcher + Educator
頭像
h2o
討論區主持
討論區主持
 
文章: 4945
註冊時間: 7日 4月 2002年, 08:00
來自: Dark Side
外號: 水水

文章HammerChugoh » 30日 3月 2006年, 13:01

johngalliano 寫:render 唔好開 filter, 用imgconvert (好似記錯名)自動幫你stitch 返一張大0既。


what kind of filter do you mean? antialiasing filter or photoshop like effect filters?
Houdini, please do the magic.
www.cgwiki.jot.com
HammerChugoh
CGV討論區會員
CGV討論區會員
 
文章: 272
註冊時間: 27日 7月 2002年, 06:50
來自: La La land

文章stantang » 30日 3月 2006年, 17:52

頭像
stantang
討論區主持
討論區主持
 
文章: 1566
註冊時間: 8日 11月 2001年, 08:00
來自: Groom Lake

文章stantang » 30日 3月 2006年, 18:03

Ok, try this script if you use Maya SW render.

---
global proc get_RenderRegions( int $x_res, int $y_res,
int $x_reg, int $y_reg,
string $image, string $file )
{
int $x_step = floor( (float)$x_res/(float)$x_reg );
int $y_step = floor( (float)$y_res/(float)$y_reg );

if( $x_res % 2 != 0 ) {
error( "X resolution must be even" );
}
if( $y_res % 2 != 0 ) {
error( "Y resolution must be even" );
}

int $x, $y;
int $image_index = 0;
for( $x=0; $x<$x_res; $x+=$x_step )
{
for( $y=0; $y<$y_res; $y+=$y_step )
{
string $command = "Render";
$command += " -x "+$x_res+" -y "+$y_res;
$command += " -xl "+$x+" -xr "+($x+$x_step-1);
$command += " -yl "+$y+" -yh "+($y+$y_step-1);
$command += " -im "+$image+"_"+$image_index;
$command += " "+$file;

print( $command+"\n" );

$image_index++;
}
}
}
---

after that run this in the Maya command line.

get_RenderRegions(6000, 6000, 3, 3, "pane", "C:\\maya\\yourfile.mb" );

You can change it to whatever size you need. This above command will give you 9 planes @ 2000 X 2000.
頭像
stantang
討論區主持
討論區主持
 
文章: 1566
註冊時間: 8日 11月 2001年, 08:00
來自: Groom Lake

文章johngalliano » 31日 3月 2006年, 01:34

HammerChugoh 寫:
johngalliano 寫:render 唔好開 filter, 用imgconvert (好似記錯名)自動幫你stitch 返一張大0既。


what kind of filter do you mean? antialiasing filter or photoshop like effect filters?

I mean those post filter in render global. If u have use the post filters, the image border will be blurred also, not good for stitching images.
johngalliano
CGV討論區會員
CGV討論區會員
 
文章: 408
註冊時間: 10日 1月 2003年, 01:12


回到 Autodesk Maya

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 21 位訪客