<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic File size limit exceeded (Java) in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/file-size-limit-exceeded-java/m-p/5172239#M50677</link>
    <description>Good morning/afternoon everyone,&lt;BR /&gt;&lt;BR /&gt;Last night there were some Java application crashes here due to a "File size limit exceeded" on a log file that had reached 2GB. Of course, once the log file was moved out of the way, applications started and ran as normal.&lt;BR /&gt;&lt;BR /&gt;My first thought was that it was a Java compile-time or parameter restriction as these are 64-bit systems running 2.6 kernels (and recent versions of glibc), but I just wanted to be sure I've covered all my bases:&lt;BR /&gt;&lt;BR /&gt;aspt5ap1 ~ $ uname -a&lt;BR /&gt;Linux aspt5ap1.domain.snipped 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux&lt;BR /&gt;&lt;BR /&gt;aspt5ap1 ~ $ free -m&lt;BR /&gt;             total       used       free     shared    buffers     cached&lt;BR /&gt;Mem:          7985       6726       1258          0        115       5909&lt;BR /&gt;-/+ buffers/cache:        702       7283&lt;BR /&gt;Swap:         7999          0       7999&lt;BR /&gt;&lt;BR /&gt;aspt5ap1 ~ $ rpm -q glibc&lt;BR /&gt;glibc-2.5-34&lt;BR /&gt;glibc-2.5-34&lt;BR /&gt;aspt5ap1 ~ $&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 28 Apr 2009 13:06:52 GMT</pubDate>
    <dc:creator>Steven McCoy</dc:creator>
    <dc:date>2009-04-28T13:06:52Z</dc:date>
    <item>
      <title>File size limit exceeded (Java)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/file-size-limit-exceeded-java/m-p/5172239#M50677</link>
      <description>Good morning/afternoon everyone,&lt;BR /&gt;&lt;BR /&gt;Last night there were some Java application crashes here due to a "File size limit exceeded" on a log file that had reached 2GB. Of course, once the log file was moved out of the way, applications started and ran as normal.&lt;BR /&gt;&lt;BR /&gt;My first thought was that it was a Java compile-time or parameter restriction as these are 64-bit systems running 2.6 kernels (and recent versions of glibc), but I just wanted to be sure I've covered all my bases:&lt;BR /&gt;&lt;BR /&gt;aspt5ap1 ~ $ uname -a&lt;BR /&gt;Linux aspt5ap1.domain.snipped 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux&lt;BR /&gt;&lt;BR /&gt;aspt5ap1 ~ $ free -m&lt;BR /&gt;             total       used       free     shared    buffers     cached&lt;BR /&gt;Mem:          7985       6726       1258          0        115       5909&lt;BR /&gt;-/+ buffers/cache:        702       7283&lt;BR /&gt;Swap:         7999          0       7999&lt;BR /&gt;&lt;BR /&gt;aspt5ap1 ~ $ rpm -q glibc&lt;BR /&gt;glibc-2.5-34&lt;BR /&gt;glibc-2.5-34&lt;BR /&gt;aspt5ap1 ~ $&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Apr 2009 13:06:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/file-size-limit-exceeded-java/m-p/5172239#M50677</guid>
      <dc:creator>Steven McCoy</dc:creator>
      <dc:date>2009-04-28T13:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: File size limit exceeded (Java)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/file-size-limit-exceeded-java/m-p/5172240#M50678</link>
      <description>The developers just got back to me, it's actually a C++ app that was not compiled with the below flag. I have asked them to recompile with this flag:&lt;BR /&gt;&lt;BR /&gt;g++ -D_FILE_OFFSET_BITS=64&lt;BR /&gt;&lt;BR /&gt;If anyone has any suggestions or alternatives, that'd be great. Thanks!</description>
      <pubDate>Tue, 28 Apr 2009 13:12:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/file-size-limit-exceeded-java/m-p/5172240#M50678</guid>
      <dc:creator>Steven McCoy</dc:creator>
      <dc:date>2009-04-28T13:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: File size limit exceeded (Java)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/file-size-limit-exceeded-java/m-p/5172241#M50679</link>
      <description>After recompiling their applications with the above flag and testing with last night's 2GB log file, everything works great, now. &lt;BR /&gt;&lt;BR /&gt;Hopefully this thread helps someone else in the future.</description>
      <pubDate>Tue, 28 Apr 2009 13:33:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/file-size-limit-exceeded-java/m-p/5172241#M50679</guid>
      <dc:creator>Steven McCoy</dc:creator>
      <dc:date>2009-04-28T13:33:08Z</dc:date>
    </item>
  </channel>
</rss>

