Variable memory settings for Jux?
#1
Hello creators, I use registered version of your Jux and I like it very much but it looks like some very complicated fractals I create probably exhaust memory which is used by Jux and it crashes or freezes on them.
Therefore I wanted to ask (I am not expert so please be patient with me :-) ) if it would be possible to add some settings into Jux to use more memory?
For example Jwildfire allows it so I can generate more complicated and bigger pictures. I understand that this is probably different because Jwildfire runs under Java so setting applies for JVM but maybe something like this would be also possible in Jux?


Thank you very much

Josef Machytka 
(you probably know my fractals from FB - https://www.facebook.com/josef.machytka)
Reply
#2
Hi Josef,

two questions: how large are you rendering, and do the crashes happen when you are adjusting controls or starting a render?
It's unlikely to be a memory problem unless you're rendering more than about 15000 pixels on a side. Jux is a 32bit program and can use all available memory (within 2GB for 32bit Windows, or about 3.5GB for 64bit Windows depending on whether the GPU uses shared memory, etc, but the practical limits are less due to some fragmentation.)
Some people have experienced problems with freezes while adjusting controls, but this has mostly been fixed or reduced in the latest versions.
The complexity of color or lighting options should not generally be a factor but there could be some combination that is causing problems for you. With some formulas there may be settings that can cause a crash. If anything is repeatable then I'm interested in parameters to try to fix it, otherwise any details may be helpful.

Regards,
Garth
Reply
#3
Hi Garth.

Crashes - or more precisely "freezes" happens to me always when I adjust controls. So I already learned to save work after several steps in case Jux freezes after next adjustments again. When I restart Jux and load last version I can usually finish it successfully. My fractals are always deeper dives with 3 or more orbital traps. But some fractals I created also freeze during render. Here is one of them:

JuxV2.502{
eJztmsty27gShveu8jvoBaQibiS14MJ2nElOxSOXrfJcdoxFS5xQpA5FxfHbn27cCJDQhGeRmU2m
alLoH924NICPkMn/nL7dt832qWiPZVNndCEienlxl9eboto3myIjaH372BVt3oHHMSMR5QPtLqMi
vrz4UG5313lZZWIRRdHlxafmVZpEmR9rCCib9qGARmIQHp/zqsjYgvCEESbokqeCk/Ty4s+m2Wfz
aEFk3E2Bgb9nETYz+M/U/nGm9n1VHmBuXQldZWA/lcXrVb2FbpW/merqgBNRk0X7pi27+6asO5JF
I41Kv6LdFo/lvqzy9jo/lpAZ7K9p96cq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m1744blMKbQ9k6+J3D87
U7tI/HvdRlM7jOS5ka9G3a4ImbohIjwagi1xcIRMOExQiGKaRAmuEXUO1d9FQPsiTtCXT+wjFiQi
XCYrmbiB8DjFCAUxsQ+WLuHKjRsnjib1wQjjNMKNA3yYEsA5le0nRDKBWScSbp+JCN2X03bz/7FL
YjhTScpn8iVseFNOyXCSUCKm94qH4FO53XVlvXVeVkrpujnVm7x9k69FV08ZviXEr2Hq2/rrXX74
kPn2k7KV8Uu+3+fymYqvRqtKNqgcHoqXCi5k8FB/bJ+zY5e37dv8+OVt/gw3hbzt5jvwnbfFsalO
8hZG4DJH4zngmwi6+OuwVR+FNHXXnNqM6k9sDvg+N4oW+u3v9Wl/yDyrf7HnS/13Jig9lIdDVfhu
SnPfu+HXMoeq7O7wZbX6iEQPh+nvUdzh4Ocd/XC05Q4HP5vYbJSPtPA9vGk/cj9M8dtBMdCWJ+vp
yQWw31LoDyhy/OYrr7Q5yqFbrz/DsRKVPbmm/NSjNx/f6ufV2lzl+4bgRqhTRcz10K8ejlz53Oim
nEGqG7CeuYl0y06lnH6EZeeQXF78etrLmiN+8yFLJFv6TjNCl4t0JsiCaReaiYELo3xBZ7A5TU8s
48ZF3jngqROxhTx82oMrD3XrgWqaLtgsWciP9zrMnfrcDcaTyJZwwjMZokxdwP9Te5gX5l+yEDL6
XfnyYlhCfjhMbISaBPzs+lf6/h+dyGv4}
{Title: 201905172229tmp7 by Josef Machytka}


I work on PC with i5 (4 logical cores), 8 GB RAM, Win 10 64bit and when I work with Jux I do not run anything else on it. 
I usually render 2400 x 1800 or bigger.
I work also with other fractals generators like Chaotica, Jwildfire, Apophysis, Terragen etc. And so far only Jux shows these freezes.
Funny stuff is that Jux actually works perfectly on my old PC with i3 (2 cores) and 6 GB RAM with Ubuntu 16 - no crashes no freezes but it is too slow for some renders. :-)

Otherwise I really love Jux!

Thanks
Reply
#4
Thanks Josef. I have had no problems rendering this example on an i7 with 8 threads in Win 7 64bit at that size, and usually have lots of other programs open too. The threads for rendering have idle priority so don't affect other programs. In fact this is the first I've heard of freezes during rendering.

There are only a few causes for programs freezing. One is infinite loops and another is deadlocked threads, and I'm pretty sure neither of those is happening in Jux. The other is the UI timing out on handling a message, which is the cause of freezes in the main window. I've done a lot of work to resolve that. But the mystery is why only some machines are affected while others have never had a freeze no matter how hard the UI is pushed - it doesn't seem to be related to Windows version or CPU or other hardware specs that I can see. I've never had a freeze on a P4, i5 or i7, which makes it hard to test directly. Debug reporting only confirms the type of freeze in this case. I'll have to take another look and see what else I can do.

For rendering, the only UI activity is once per second updates of the picture, or less often if you have zoomed out, so that should not have any chance of freezing. You could try reducing the number of render threads by one (in the More Options button beside the anti-alias control) and see if that helps.
Reply


Forum Jump: