One Star

[resolved] Which .ini file to change memory using an Apple Mac?

Hi, I'm on a Mac and I'm getting an OutOfMemory error:
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
I'd like to increase the amount of memory but I don't know which .ini file to use, as there are a number of .ini files in the main TOS folder
Note that the last comment on this page is asking the same question:
https://help.talend.com/search/all?query=Allocating+more+memory+to+the+Talend+Studio&content-lang=en
Thanks Smiley Happy
3 REPLIES
Seventeen Stars

Re: [resolved] Which .ini file to change memory using an Apple Mac?

hi,
are you "java heap exception on running Talend Studio" or when you're executing some Jobs ?
never mind, in my MDM tos studio for example i've got a TOS_MDM-macosx-cocoa.app folder with ini file.
If you're encoutering problem by running jobs, in studio you've got advanced setting with run job to specify jvm args.
for building job (compiled job) modify it in sctipt (bat, sh) file.
regards
laurent
One Star

Re: [resolved] Which .ini file to change memory using an Apple Mac?

Thanks, I didn't think of opening the .app package contents ? I upped the memory in the .ini file
Side note: There was an issue with my SQL query anyway in my job, this cleared up the memory problem before needing to tweak the .ini file
But still, I have a lot more memory I can share with Talend, so I did Smiley Happy
Seventeen Stars

Re: [resolved] Which .ini file to change memory using an Apple Mac?

you're welcome Smiley Wink
regards