Page 1 of 2

Problem with memory

Posted: Wed Aug 22, 2007 10:36 am
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

Posted: Wed Aug 22, 2007 11:24 am
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 ?

Posted: Wed Aug 22, 2007 12:05 pm
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

Posted: Wed Aug 22, 2007 12:24 pm
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

Posted: Wed Aug 22, 2007 12:33 pm
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

Posted: Thu Aug 23, 2007 7:46 am
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

Posted: Thu Aug 23, 2007 9:46 am
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.

Posted: Thu Aug 23, 2007 10:09 am
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

Posted: Thu Aug 23, 2007 11:06 am
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

Posted: Thu Aug 23, 2007 5:23 pm
by silverlw
Might have been so, glad you found out. Kray dont use glas/air polygons , only 1 glassurface.

Posted: Thu Aug 23, 2007 11:03 pm
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]

Posted: Fri Aug 24, 2007 8:29 am
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=

Posted: Fri Aug 24, 2007 1:26 pm
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

Posted: Fri Aug 24, 2007 2:15 pm
by direwolf
First of all, LWCAD FixPoly found over 8000 errors.
I didn't fix any yet. Rendering first with your exact settings/model.

Posted: Fri Aug 24, 2007 2:15 pm
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