服务器生产环境数据同步报错kettle 导致调度无法正常启动,报错日志如下:
见第二行信息显示:由于内存不足导致,系统无法分配足够内存让调度运行。
解决办法:
可以调节 -XX:MaxPermSize=4096m" 参数,调大点。ps:还有别的参数 可以自行百度一下。如有错误,还请大家指出!谢谢~~
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 2863661056 bytes for committing reserved memory.
# 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 (os_linux.cpp:2756), pid=15334, tid=140192837007104
#
# JRE version: (7.0_80-b15) (build )
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.80-b11 mixed mode linux-amd64 compressed oops)
# 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 (0x00007f8128009000): JavaThread "Unknown thread" [_thread_in_vm, id=15335, stack(0x00007f81302ff000,0x00007f8130400000)]
Stack: [0x00007f81302ff000,0x00007f8130400000], sp=0x00007f81303fe1d0, free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x9a320a] VMError::report_and_die()+0x2ea
V [libjvm.so+0x498d3b] report_vm_out_of_memory(char const*, int, unsigned long, char const*)+0x9b
V [libjvm.so+0x82191e] os::Linux::commit_memory_impl(char*, unsigned long, bool)+0xfe
V [libjvm.so+0x821e69] os::pd_commit_memory(char*, unsigned long, unsigned long, bool)+0x29
V [libjvm.so+0x81bb6a] os::commit_memory(char*, unsigned long, unsigned long, bool)+0x2a
V [libjvm.so+0x88d623] PSVirtualSpace::expand_by(unsigned long)+0x53
V [libjvm.so+0x87c293] PSOldGen::initialize(ReservedSpace, unsigned long, char const*, int)+0x103
V [libjvm.so+0x29ace3] AdjoiningGenerations::AdjoiningGenerations(ReservedSpace, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long)+0x3e3
V [libjvm.so+0x843215] ParallelScavengeHeap::initialize()+0x4d5
V [libjvm.so+0x97509a] Universe::initialize_heap()+0xca
V [libjvm.so+0x976269] universe_init()+0x79
V