OnDemand Users Group

Archive => Other => Topic started by: jsquizz on November 10, 2015, 04:23:21 PM

Title: AFP2PDF Size Limitation
Post by: jsquizz on November 10, 2015, 04:23:21 PM
Just wondering if anyone has reached an input filesize limitation with AFP2PDF. Is anyone currently using AFP2PDF to convert very large AFP files (2-3 GB) to PDF?

I am getting a core dump when this is attempted  :-[ ::)
Title: Re: AFP2PDF Size Limitation
Post by: Justin Derrick on November 10, 2015, 06:54:14 PM
I would imagine you're blowing out the size limit of PDF documents.  Can you get coredumps/traces from the conversion?
Title: Re: AFP2PDF Size Limitation
Post by: Alessandro Perucchi on November 11, 2015, 10:00:34 AM
From which platform are you doing such transformation?

If you are on Windows, then since the AFP2PDF is in 32bit, then "maybe", you have reached a problem... which could not be there with the Linux/Unix version, which is 64bits.
Otherwise... no idea...
Title: Re: AFP2PDF Size Limitation
Post by: jsquizz on November 12, 2015, 02:27:27 PM
AIX 5.3 :(
Title: Re: AFP2PDF Size Limitation
Post by: Alessandro Perucchi on November 12, 2015, 02:57:45 PM
did you check the "ulimit" ? maybe your have there some "limitation" on your user...
Title: Re: AFP2PDF Size Limitation
Post by: jsquizz on November 12, 2015, 04:59:06 PM
THANK YOU ALLESANDRO! I said this but its glad to see someone backs me up

whatever one that is (coredumps) isn't set to unlimited.
Title: Re: AFP2PDF Size Limitation
Post by: Justin Derrick on November 12, 2015, 06:21:13 PM
ulimit on coredumps only means you get bigger core files.  It doesn't change how much memory is available to your process.

What other changes did you make to the limits?
Title: Re: AFP2PDF Size Limitation
Post by: jsquizz on November 13, 2015, 01:30:34 PM
none as of yet. Heres the current ulimits:

:user@aixbox:# ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 4194304
memory(kbytes) unlimited
coredump(blocks) 2097151
nofiles(descriptors) 2000

:user@aixbox:# ulimit -Ha
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 4194304
memory(kbytes) unlimited
coredump(blocks) unlimited
nofiles(descriptors) unlimited
Title: Re: AFP2PDF Size Limitation
Post by: Alessandro Perucchi on November 13, 2015, 01:52:46 PM
try


ulimit -s unlimited


this is to put the STACK to unlimited... sometimes the stack limitation can cause such problem...
Title: Re: AFP2PDF Size Limitation
Post by: Justin Derrick on November 13, 2015, 05:29:25 PM
And change your coredump limit back to something reasonable like 10 or 20MB.  You can accidentially fill a filesystem writing out core-dumps from processes that run out of memory...
Title: Re: AFP2PDF Size Limitation
Post by: jsquizz on November 16, 2015, 01:38:33 PM
Haven't made any changes as of yet.