[Swift-devel] Re: Memory in Swift
Jonathan Monette
jon.monette at gmail.com
Mon Oct 18 13:19:27 CDT 2010
I am on PADS.
On 10/18/2010 01:21 PM, Justin M Wozniak wrote:
> On Mon, 18 Oct 2010, Jonathan Monette wrote:
>
>> 1) What is the maximum value for SWIFT_HEAP_MAX? Is it the
>> maximum memory available on the machine? If I ask for 8Gb will the
>> Java heap space be 8Gb?
>
> In bin/swift, that value is passed directly to the Java VM, so it's
> implementation-specific. What kind of machine are you on?
>
>> 2) Assuming that the above question does not fix my problem, what
>> can be done to fix memory problems in Swift? How should a Swift
>> script be programmed to avoid these issues or is how Swift handles
>> memory not optimal. I have a set of about 4100 images that will be
>> stitched together to form a mosaic. The size of this set is 8.1Gb.
>> Right now in my sites file I set SWIFT_HEAP_MAX to 4096M(4Gb) but I
>> am still getting out of memory errors with the Java heap space. Is
>> Swift just not able to scale up to this size of data yet?
>
--
Jon
Computers are incredibly fast, accurate, and stupid. Human beings are incredibly slow, inaccurate, and brilliant. Together they are powerful beyond imagination.
- Albert Einstein
More information about the Swift-devel
mailing list