Problem with memory

General disscusion about Kray
peter carl
Posts: 9
Joined: Wed Aug 22, 2007 10:21 am
Location: Sweden

Problem with memory

Post by peter carl »

Hello
This is my first day using Kray and I dont get it to work. Lightwave crash and I get the massage " the memory could not be read" what dose that meen? I have red of memory problem with Kray. Can I do somthing about it?

Thanks

Peter
silverlw
Posts: 453
Joined: Thu Jun 02, 2005 7:05 pm
Location: Sweden
Contact:

Post by silverlw »

Hi Peter! What version of Lw and Kray?
tell me more info or supply small scene causing this behaviour.
How much memory do you have in the pc ?
peter carl
Posts: 9
Joined: Wed Aug 22, 2007 10:21 am
Location: Sweden

Post by peter carl »

I Use LW 9.2 (Build 1165) and the latest Kray 1.7 ob 3.
I use pc AMD dual core 4200+ and 2Gb RAM.
The scen have 125000 polys.

Thanks

Peter
silverlw
Posts: 453
Joined: Thu Jun 02, 2005 7:05 pm
Location: Sweden
Contact:

Post by silverlw »

Hmm im stunned. Since we have almost same machines and versions and i have never run into that kind of problem " the memory could not be read".
Is this really related to Kray or could this be a page-swapfile/temp katalog that is corrupt? (scandisk) Does this happends with all scenes or just one?
Have you loaded incredible high resolution textures of thousands of pixels or?
If the problems occurs with just one scene please try to pack/send it so we could fix it. Im reachable at crapmess@bredband.net
User avatar
phile_forum
Posts: 177
Joined: Wed Aug 16, 2006 11:12 pm
Location: UK
Contact:

Post by phile_forum »

Apparently a very difficult error to sort out - I've seen it attributed to problems with internet explorer, java, hyperthreading, the RAM timings, amongst other stuff. However, if you don't see the error with other apps, it's unlikely to be a hardware problemo.

Just a few steps to try to begin with (assuming you're running Windows):

Make sure Windows Update is, err, up to date. Reboot.
Clear out your Windows Temp folder, clean up your registry & check for other system errors (ccleaner is excellent for this so long as you're not on 64-bit Windows), empty out your prefetch folder. Reboot.
Try renewing your Page File (if possible, move it to a different disc or partition, reboot, move it back, reboot).

Phil
Planet Indifferent - CGI by Phil Emery
http://www.planetindifferent.co.uk
richardo_forum
Posts: 25
Joined: Sat Mar 25, 2006 2:00 pm
Location: norway
Contact:

Post by richardo_forum »

Hi Silverlw

i am having problems also................
its a simple scene with two layers of objects one layer has around 400.000 polygons the other 30.000. everything is fine if i use the medium QMC preset but if i up the quality to high, kray will only render the smaller of the two objects in the scene. is it possible to upload the object file to you?
its 28mb..................

regards

richard
silverlw
Posts: 453
Joined: Thu Jun 02, 2005 7:05 pm
Location: Sweden
Contact:

Post by silverlw »

Could you upload the file to some fileshare like rapidshare? I would really like to look at it since i havent experienced such problems before.
Does Kray say your Octree depth is to low? If it aint saying anything,have you increased it to 100 or similar? That can lead to out of mem.
richardo_forum
Posts: 25
Joined: Sat Mar 25, 2006 2:00 pm
Location: norway
Contact:

Post by richardo_forum »

Silverlw

yes it does say its too low but if i increase it it crashes also..............?
will try to upload it to rapid share :-)

thanks

richard
richardo_forum
Posts: 25
Joined: Sat Mar 25, 2006 2:00 pm
Location: norway
Contact:

Post by richardo_forum »

hi Silverlw

i have rebuilt the scene from scratch and it seems to be working now :roll:
i had some air surfaces in the model, for fprime, which i removed, so maybe this was causing the problem?

Richard
silverlw
Posts: 453
Joined: Thu Jun 02, 2005 7:05 pm
Location: Sweden
Contact:

Post by silverlw »

Might have been so, glad you found out. Kray dont use glas/air polygons , only 1 glassurface.
peter carl
Posts: 9
Joined: Wed Aug 22, 2007 10:21 am
Location: Sweden

Post by peter carl »

Hello thanks for al help!
I have now almost started from the beginning but a new problem have arised. When the render is just to be finished it stop and saves just half a picture. I also get the varning of to low Octree depth.

When I used 250 in octree depth the picture did save ok.
Do that make any sense?

Thanks Peter
[/img]
Attachments
kray_render.rar
This file shows a unfinished picture
(123.81 KiB) Downloaded 354 times
silverlw
Posts: 453
Joined: Thu Jun 02, 2005 7:05 pm
Location: Sweden
Contact:

Post by silverlw »

The first part with a half picture is an anoying bug that happends sometimes when doing antibanding. According to VPII it happened everytime he rendered until he removed the glas windows. I have never noticed glaswindows causing this behaviour but if you scene get's this bug because of it we are very interested to look at it.

The second part about octree... When Kray tells you that octree is low it just means it is not optimal for the large scene you have but it will still render but might impact speed.
If you have a large house with plenty of furnitures and stuff in it and one highpolyobjects in a bookshelf, the highpolyobject in the bookshelf can take very long time to render due to low octree but it will still render. IF that happends you might need to raise octree to get a boost of speed but octree values of 250 are skyhigh. If it would actually need 250 i guarante it would eat all your ram and crash. Mostly octree 20 is enough but sometimes a value of 30-40 might be needed for above situation as i explained.
look at this beta post: http://www.kraytracing.com/forum/viewto ... highlight=
peter carl
Posts: 9
Joined: Wed Aug 22, 2007 10:21 am
Location: Sweden

Post by peter carl »

I have tried without glasobject and it still wont work.
It dosent matter if i use a higher octree depth.
Its a pain, just when the render is finished it crashes.
If its not the glas what else can be wrong?

Thanks!

Peter
Last edited by peter carl on Fri Aug 24, 2007 2:16 pm, edited 1 time in total.
direwolf
Posts: 66
Joined: Sat Mar 31, 2007 1:11 pm

Post by direwolf »

First of all, LWCAD FixPoly found over 8000 errors.
I didn't fix any yet. Rendering first with your exact settings/model.
peter carl
Posts: 9
Joined: Wed Aug 22, 2007 10:21 am
Location: Sweden

Post by peter carl »

Its probably one of the maps. I did a render without maps and it worked.
Now I must find out witch one there is. Jiiippiiii! :evil:

Peter
Locked