[Haskell-cafe] tplot (out of memory)
Manish Trivedi
trivmanish at gmail.com
Wed Feb 27 08:14:21 CET 2013
Hi folks,
Just thought it might be helpful to close this issue. Haskell tplot out of
memory on centos ep6 was indeed related to the font issue. As Malcolm
pointed out, installing x11 fonts resolved the issue.
This yum install worked for me "yum install xorg-x11-font*".
Thanks,
Manish
On Fri, Nov 30, 2012 at 11:29 AM, Eugene Kirpichov <ekirpichov at gmail.com>wrote:
> Hi,
>
> Wow, that's weird. I wonder what kinds of fonts were missing? I was just
> using the default cairo font everywhere.
>
>
> On Fri, Nov 30, 2012 at 11:27 PM, Malcolm Wallace <malcolm.wallace at me.com>wrote:
>
>> 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
>>
>>
>
>
> --
> Eugene Kirpichov
> http://www.linkedin.com/in/eugenekirpichov
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130226/8bfe229c/attachment.htm>
More information about the Haskell-Cafe
mailing list