• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: pdftotext
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pdftotext


  • Subject: Re: pdftotext
  • From: Thomas Fischer <email@hidden>
  • Date: Mon, 30 Dec 2013 17:45:13 +0100

Title: Re: pdftotext
Hi Paul,

sorry, I picked the wrong paragraph of the man page:

-Xmxn
Specifies  the  maximum  size,  in  bytes,  of the memory allocation pool.  This value must be a multiple of 1024 greater than 2 MB.  Append the letter k or K to indicate kilobytes, the letter m or M to indicate megabytes,  the letter  g  or  G  to  indicate gigabytes, or the letter t or T to indicate terabytes.  The default value is 64MB.
 Examples:
  -Xmx83886080
  -Xmx81920k
  -Xmx80m

Best
Thomas

Am 27.12.2013 um 03:56 schrieb Paul Berkowitz:

On 12/26/13, 8:48 AM, "Thomas Fischer" <email@hidden> wrote:

-Xmx1G
is a parameter for the java call to reserve 1 GB of memory (Heapspace) for the process.
This will usually not make a difference if you leave it out, unless you run out of memory, that is.

I used this for the conversion of hundreds of (mathematical) PDF files, so for the general user this will be too high, I suppose. The explanation is in the java man page:

?Xmsn
Specifies the initial size of the memory allocation pool. This value must be a multiple of 1024 greater than 1 MB. Append the letter k or K to indicate kilobytes, the letter m or M to indicate megabytes, the letter g or G to indicate gigabytes, or the letter t or T to indicate terabytes. The default value is 2MB. Examples:
?Xms6291456
?Xms6144k
?Xms6m

So what is the "x" in -Xmx1G doing? Was it meant to be an "s"?

--
Paul Berkowitz
Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/archives/applescript-users This email sent to email@hidden
References: 
 >Re: pdftotext (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: puzzled by grep
  • Next by Date: Executing script by ip address
  • Previous by thread: Re: pdftotext
  • Next by thread: Re: pdftotext
  • Index(es):
    • Date
    • Thread