[Haskell-cafe] tplot (out of memory)

malcolm.wallace malcolm.wallace at me.com
Thu Oct 18 10:55:38 CEST 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20121018/d3b0cf4c/attachment.htm>


More information about the Haskell-Cafe mailing list