I tested this on the weekend using svg output and got an 11mb svg !

When I tried to open this in inkscape, it used all the memory before crashing.

PDF output was fine, + running in window mode.


There's probably something suboptimal in the cairo use SVG.
 
S++


>________________________________
> From: Stuart Axon <[email protected]>
>To: "[email protected]" 
><[email protected]> 
>Sent: Friday, January 18, 2013 10:34 AM
>Subject: Re: [shoebot-devel] Nice example on nodebox site - Fireworks
> 
>
>Interesting result, it's possible that something pathological could be 
>happening with memory, might be worth seeing how much memory uses when running 
>different bots.
> 
>S++
>
>
>>________________________________
>> From: Ricardo Lafuente <[email protected]>
>>To: [email protected] 
>>Sent: Wednesday, January 16, 2013 11:56 PM
>>Subject: Re: [shoebot-devel] Nice example on nodebox site - Fireworks
>> 
>>Nevermind, changing n = 80 to n = 50 made it work for me.
>>
>>On 01/16/2013 11:43 PM, Ricardo Lafuente wrote:
>>> I tried but got a MemoryError:
>>>
>>> Traceback (most recent call last):
>>>    File "/usr/bin/sbot", line 146, in <module>
>>>      args = args.args)
>>>    File "/usr/lib/python2.7/site-packages/shoebot/sbot.py", line 86, in run
>>>      bot.sb_run(src, iterations, run_forever = window if close_window ==
>>> False else False, frame_limiter = window)
>>>    File "/usr/lib/python2.7/site-packages/shoebot/grammar/grammar.py",
>>> line 146, in sb_run
>>>      self._exec_frame(source_or_code, limit = frame_limiter)
>>>    File "/usr/lib/python2.7/site-packages/shoebot/grammar/grammar.py",
>>> line 108, in _exec_frame
>>>      self._canvas.flush(self._frame)
>>>    File
 "/usr/lib/python2.7/site-packages/shoebot/core/canvas.py", line
>>> 167, in flush
>>>      self.sink.render(self.size_or_default(), frame, self._drawqueue)
>>>    File
>>> "/usr/lib/python2.7/site-packages/shoebot/core/drawqueue_sink.py", line
>>> 23, in render
>>>      self.rendering_finished(size, frame, r_context)
>>>    File "/usr/lib/python2.7/site-packages/shoebot/gui/gtk_window.py",
>>> line 121, in rendering_finished
>>>      return self.sb_widget.rendering_finished(size, frame, cairo_ctx)
>>>    File
>>> "/usr/lib/python2.7/site-packages/shoebot/gui/gtk_drawingarea.py", line
>>> 71, in rendering_finished
>>>      cr.paint()
>>> MemoryError
>>>
>>> On 01/16/2013 03:29 PM, Stuart Axon wrote:
>>>> This example from the nodebox site worked in shoebot first time (always
>>>>
 nice).
>>>>
>>>> http://nodebox.net/code/index.php/Fireworks
>>>> So might be worth including .. as always I'd like it to have better
>>>> performance (or at least progressive rendering), but c'est la vie..
>>>>
>>>> S++
>>>>
>>>>
>>>> _______________________________________________
>>>> Shoebot-devel mailing list
>>>> [email protected]
>>>> http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
>>>>
>>>
>>>
>>> _______________________________________________
>>> Shoebot-devel mailing list
>>> [email protected]
>>> http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
>>>
>>
>>
>>_______________________________________________
>>Shoebot-devel mailing list
>>[email protected]
>>http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
>>
>>
>>
>_______________________________________________
>Shoebot-devel mailing list
>[email protected]
>http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
>
>
>
_______________________________________________
Shoebot-devel mailing list
[email protected]
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net

Reply via email to