[Haskell-cafe] tplot (out of memory)

Malcolm Wallace malcolm.wallace at me.com
Fri Nov 30 20:27:34 CET 2012


For the record, it turned out that the key difference between the linux machines was the fonts packages installed via RPM.  The strace utility told me that the crash happened shortly after cairo/pango attempted (and failed) to open some font configuration files.  After installing some of the X11 font packages (and some others too), the crash went away.

On 18 Oct 2012, at 09:55, malcolm.wallace wrote:

> Did you ever solve this?  I have a similar message ( user error (out of memory) ) arising from a different app (not tplot) that uses the Haskell Chart library (and cairo underneath).  On some linux machines, it crashes, on others it works fine.  I can find no environment differences between the machines.  The app does not use a lot of memory, and the machine is not running out of physical or swap. 
> Regards,
>     Malcolm
> 
> 
> On 04 Sep, 2012,at 04:01 PM, Eugene Kirpichov <ekirpichov at gmail.com> wrote:
> 
>> Hi Manish,
>> 
>> Please provide the input file, I'll debug this.
>> 
>> On Mon, Sep 3, 2012 at 1:06 PM, Manish Trivedi <trivmanish at gmail.com> wrote:
>> > Hi,
>> >
>> > I am running into a weird out of memory issue. While running timeplot over
>> > an input file having ~800 rows. From below provided info, seems like machine
>> > has enough ram (1849MB).
>> > Please let me know if anyone has pointers.
>> >
>> > # free -m
>> > total used free shared buffers cached
>> > Mem: 3825 1975 1849 0 13 71
>> > -/+ buffers/cache: 1891 1934
>> > Swap: 4031 111 3920
>> >
>> > #time tplot -o out.png -or 1024x768 -k 'CurrentPerHour' 'lines' -k
>> > 'RequiredPerHour' 'lines' -if adgroup_delivery_chart.input -tf 'date
>> > %Y-%m-%d %H:%M:%OS'
>> >
>> > tplot: user error (out of memory)
>> >
>> > real 0m0.026s
>> > user 0m0.018s
>> > sys 0m0.008s
>> >
>> > -Manish
>> >
>> > _______________________________________________
>> > Haskell-Cafe mailing list
>> > Haskell-Cafe at haskell.org
>> > http://www.haskell.org/mailman/listinfo/haskell-cafe
>> >
>> 
>> 
>> 
>> -- 
>> Eugene Kirpichov
>> http://www.linkedin.com/in/eugenekirpichov
>> 
>> _______________________________________________
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
>> http://www.haskell.org/mailman/listinfo/haskell-cafe




More information about the Haskell-Cafe mailing list