Sg2.9
Raster script does not complete
Recent RSS
Raster script does not complete
From:  Bruno
Date:  2. May 2007, 14:15

Hi

I'm using CS3 with the latest Scriptographer on Windows XP. When I try to use object raster on a raster thats 180 x 180 px, my machine decides not to work on the whole raster, but rather stop at some point. A window then gives me this message "Java heap spaceUnknown Error".

Is there a limitation within the script about the size of the raster or is there an issue with my setup? Sorry if I'm cross posting, couldn't find any answer to that elsewhere.

Best,
Bruno

Re: Raster script does not complete
From:  jay purcell
Date:  3. May 2007, 14:36

Bruno.
I can't get the rasters to work either, even embedding the raster and following all posted advice to date. Really dissapointed if you or anyone out there can help!!!
Cheers Jay

Re: Raster script does not complete
From:  Jürg Lehni
Date:  3. May 2007, 14:47

I am aware that the raster scripts badly need an update.

Until then, a few tips:

  • Use embedded images, not linked ones.
  • Use small images. If they are too big, rasterize them again at a small size and 72DPI, in order to get pixel dimensions around 100 x 100 (or not much more).

Please let me know if that does the trick.

Re: Raster script does not complete
From:  Bruno
Date:  3. May 2007, 17:15

Thanks to you both. I'm currently splitting images into sections and process them like that, which seems to be a work around (as we need a raster resolution that seems to cause problems).

Best,
Bruno

Re: Raster script does not complete
From:  Jürg Lehni
Date:  4. May 2007, 04:32

I think you're just running out of memory. Did you try this possible solution?

Re: Raster script does not complete
From:  Bruno
Date:  4. May 2007, 11:01

Just tried that: A larger chunk of the raster gets processed, but it would still stop somewhere in line 194 (I tried a 200 x 200 px raster), no matter whether I set -Mmx256m or -Mmx1024m; the console reports an "Unknown Error".

Re: Raster script does not complete
From:  Jürg Lehni
Date:  4. May 2007, 13:36

I see. Can you send me the file with the raster image in question to sg AT scriptographer DOT com? Also, could you give me more information about your system, Illustrator version, platform, etc.? Thanks!

Re: Raster script does not complete
From:  Bruno
Date:  4. May 2007, 16:09

Sent. Thanks a lot.

Re: Raster script does not complete
Date:  20. June 2007, 14:29

Just in case anyone is struggling on CS3 Mac the embedding of the image cleared up all my raster issues. Thanks for the help posted above.

Re: Raster script does not complete
From:  Jürg Lehni
Date:  14. July 2007, 18:25

Today I finally found the source of this memory problem. It was related to caching of Java object wrappers and circular references that did not allow wrapper objects to be garbage collected. Exptect an update soon.

Re: Raster script does not complete
From:  absoluteBeginner
Date:  15. July 2007, 00:44

Bummer - the results displayed on this site look great ... but, whatever i do ( (ex)changing the raster script ):
It wouldn't work. not even let me look at the settings panel
:(

Scripts
08.08.14, 15:24
15.05.14, 14:23
02.03.14, 19:16
18.11.13, 14:48
22.03.13, 03:05
22.02.13, 15:45
Posts
10.01.17, 16:37
19.02.16, 06:03
19.02.16, 06:00
17.01.16, 11:00
12.01.16, 13:10
25.11.15, 08:19
Script of the Moment
Newton Curve 08.09.11