Re: [Haskell-cafe] tplot (out of memory)

2013-02-26 Thread Manish Trivedi
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 ekirpic...@gmail.comwrote:

 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.wall...@me.comwrote:

 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 ekirpic...@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 trivman...@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@haskell.org
   http://www.haskell.org/mailman/listinfo/haskell-cafe
  
 
 
 
  --
  Eugene Kirpichov
  http://www.linkedin.com/in/eugenekirpichov
 
  ___
  Haskell-Cafe mailing list
  Haskell-Cafe@haskell.org
  http://www.haskell.org/mailman/listinfo/haskell-cafe




 --
 Eugene Kirpichov
 http://www.linkedin.com/in/eugenekirpichov



___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] tplot (out of memory)

2012-11-30 Thread Malcolm Wallace
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 ekirpic...@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 trivman...@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@haskell.org
  http://www.haskell.org/mailman/listinfo/haskell-cafe
 
 
 
 
 -- 
 Eugene Kirpichov
 http://www.linkedin.com/in/eugenekirpichov
 
 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] tplot (out of memory)

2012-11-30 Thread Eugene Kirpichov
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.wall...@me.comwrote:

 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 ekirpic...@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 trivman...@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@haskell.org
   http://www.haskell.org/mailman/listinfo/haskell-cafe
  
 
 
 
  --
  Eugene Kirpichov
  http://www.linkedin.com/in/eugenekirpichov
 
  ___
  Haskell-Cafe mailing list
  Haskell-Cafe@haskell.org
  http://www.haskell.org/mailman/listinfo/haskell-cafe




-- 
Eugene Kirpichov
http://www.linkedin.com/in/eugenekirpichov
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] tplot (out of memory)

2012-10-19 Thread Eugene Kirpichov
Hi,

I didn't - because I didn't run into this myself. Manish, maybe you did? :)

On Thu, Oct 18, 2012 at 1:55 AM, malcolm.wallace malcolm.wall...@me.com 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 ekirpic...@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 trivman...@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@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe




 --
 Eugene Kirpichov
 http://www.linkedin.com/in/eugenekirpichov

 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe



-- 
Eugene Kirpichov
http://www.linkedin.com/in/eugenekirpichov
We're hiring! http://tinyurl.com/mirantis-openstack-engineer

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] tplot (out of memory)

2012-10-18 Thread malcolm.wallace
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,
MalcolmOn 04 Sep, 2012,at 04:01 PM, Eugene Kirpichov ekirpic...@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 trivman...@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@haskell.org  http://www.haskell.org/mailman/listinfo/haskell-cafe --  Eugene Kirpichov http://www.linkedin.com/in/eugenekirpichov  ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] tplot (out of memory)

2012-09-04 Thread Arnaud Bailly
Hi,

Manish Trivedi trivman...@gmail.com writes:
 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.

I have run tplot on much larger files than that without troubles. Which
version are you using? I assume this is the one from hackage which AFAIK
is the one I am also using.

Could you post a sample input file?

Regards,
-- 
Arnaud Bailly
FoldLabs Associate
http://foldlabs.com

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] tplot (out of memory)

2012-09-04 Thread Eugene Kirpichov
Hi Manish,

Please provide the input file, I'll debug this.

On Mon, Sep 3, 2012 at 1:06 PM, Manish Trivedi trivman...@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 sharedbuffers cached
 Mem:  3825   1975   1849  0 13 71
 -/+ buffers/cache:   1891   1934
 Swap: 4031111   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)

 real0m0.026s
 user0m0.018s
 sys0m0.008s

 -Manish

 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe




-- 
Eugene Kirpichov
http://www.linkedin.com/in/eugenekirpichov

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] tplot (out of memory)

2012-09-03 Thread Manish Trivedi
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 sharedbuffers cached
Mem:  3825   1975   1849  0 13 71
-/+ buffers/cache:   1891   1934
Swap: 4031111   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)

real0m0.026s
user0m0.018s
sys0m0.008s

-Manish
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe