Jeronimo, thanks for the tip! zRAM made it work perfectly!

Mario, I'm sorry, but I won't try the sxml-only ATM.

All the best,
Arthur

On Fri, Dec 16, 2016 at 8:53 AM, Jeronimo Pellegrini <[email protected]>
wrote:

> On Fri, Dec 16, 2016 at 07:05:26AM +0100, Mario Domenech Goulart wrote:
> > Hi Arthur,
> >
> > On Thu, 15 Dec 2016 22:40:47 -0200 Arthur Maciel <[email protected]>
> wrote:
> >
> > > On Thu, Dec 15, 2016 at 10:28 PM, Evan Hanson <[email protected]>
> wrote:
> > >
> > >     A first guess is that Linux's OOM killer might be killing your
> > >     process.  html-tags is notorious for both time and memory usage
> > >     while compiling. Check for messages like "oom" or "killed process"
> > >     in /var/log/syslog or /var/log/kern.log to see if that's what's
> > >     going on.
> > >
> > > Hi Evan! You are right! There are messages in the logs. Do you know if
> > > there is any way to circumvent it?
> >
> > There's not much to do but getting more memory (i.e., more swap,
> > compiling on a machine with more memory).  html-tags is really horrible.
> > It's a relatively small macro that defines a lot of procedures.
>
> One thing that might help is to use zram, if the system is not already
> using it.
>
> $ cat /proc/swaps
> Filename                                Type            Size    Used
> Priority
> /dev/dm-5                               partition       6709244 14884   -1
> /dev/zram0                              partition       927576  146572  5
> /dev/zram1                              partition       927576  145996  5
> /dev/zram2                              partition       927576  145768  5
> /dev/zram3                              partition       927576  145972  5
>
> That means I have one swap partition on disk (dm-5) and four "swap
> partitions"
> on RAM (it's basically compressing RAM memory on the fly). Swap on disk is
> only
> used when "swap on RAM" is exhausted.
>
> Many Linux distributions will install the zram module by default, but not
> all
> of them. If /proc/swaps doesn't include any /dev/zram devices, it may be a
> good idea to enable it.
>
> J.
>
>
> _______________________________________________
> Chicken-users mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/chicken-users
>
_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to