Lately I get this error a lot on a gentoo machine, in form of files
named like hs_err_pid<...>.log in SAGE_ROOT.

After a run of make ptest, there are about a hundred of these appearing.
Any idea how this can be fixed?
The machine in question has 8 GB of RAM...

These files start like this:

#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 312 bytes for
AllocateHeap
# Possible reasons:
#   The system is out of physical RAM or swap space
#   In 32 bit mode, the process size limit was hit
# Possible solutions:
#   Reduce memory load on the system
#   Increase physical memory or swap space
#   Check if swap backing store is full
#   Use 64 bit Java on a 64 bit OS
#   Decrease Java heap size (-Xmx/-Xms)
#   Decrease number of Java threads
#   Decrease Java thread stack sizes (-Xss)
#   Set larger code cache with -XX:ReservedCodeCacheSize=
# This output file may be truncated or incomplete.
#
#  Out of Memory Error (allocation.inline.hpp:61), pid=5255,
tid=0x00007fa918622700
#
# JRE version:  (8.0_191-b12) (build )
# Java VM: OpenJDK 64-Bit Server VM (25.191-b12 mixed mode linux-amd64
compressed oops)
# Derivative: IcedTea 3.10.0
# Distribution: Gentoo Base System release 2.6, package Gentoo icedtea-3.10.0
# Failed to write core dump. Core dumps have been disabled. To enable
core dumping, try "ulimit -c unlimited" before starting Java again
#

---------------  T H R E A D  ---------------

Current thread (0x00007fa914094800):  JavaThread "Finalizer" daemon
[_thread_in_vm, id=5265, stack(0x00007fa918522000,0x00007fa918623000)]

Stack: [0x00007fa918522000,0x00007fa918623000],
sp=0x00007fa9186218a0,  free space=1022k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x965909]

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq1dvUMfZJM3bKPZOHp8gcFtnGZvk7KW7AYJqwaUdGXOmw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to