fix 判断故障

master
rouchen 2024-06-21 21:35:58 +08:00
parent c44046d4ac
commit b15c00b495
22 changed files with 59748 additions and 1398 deletions

219
hs_err_pid11340.log 100644
View File

@ -0,0 +1,219 @@
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 264241152 bytes for G1 virtual space
# Possible reasons:
# The system is out of physical RAM or swap space
# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# JVM is running with Zero Based Compressed Oops mode in which the Java heap is
# placed in the first 32GB address space. The Java Heap base address is the
# maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
# to set the Java Heap base and to place the Java Heap above 32GB virtual address.
# This output file may be truncated or incomplete.
#
# Out of Memory Error (os_windows.cpp:3548), pid=11340, tid=20332
#
# JRE version: (17.0.10+11) (build )
# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0.10+11-LTS-240, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
--------------- S U M M A R Y ------------
Command Line: -Dmaven.multiModuleProjectDirectory=D:\work\IotDB -Djansi.passthrough=true -Dmaven.home=D:\maven\apache-maven-3.6.3 -Dclassworlds.conf=D:\maven\apache-maven-3.6.3\bin\m2.conf -Dmaven.ext.class.path=D:\idea2023\IntelliJ IDEA 2023.3.4\plugins\maven\lib\maven-event-listener.jar -Dfile.encoding=UTF-8 org.codehaus.classworlds.Launcher -Didea.version=2023.3.4 -s D:\maven\apache-maven-3.6.3\conf\settings.xml install
Host: 12th Gen Intel(R) Core(TM) i9-12900H, 20 cores, 15G, Windows 11 , 64 bit Build 22621 (10.0.22621.3527)
Time: Fri Jun 21 20:30:16 2024 Windows 11 , 64 bit Build 22621 (10.0.22621.3527) elapsed time: 0.009912 seconds (0d 0h 0m 0s)
--------------- T H R E A D ---------------
Current thread (0x00000298a8bd1ca0): JavaThread "Unknown thread" [_thread_in_vm, id=20332, stack(0x000000f4f9200000,0x000000f4f9300000)]
Stack: [0x000000f4f9200000,0x000000f4f9300000]
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x677a5a]
V [jvm.dll+0x7d8b2d]
V [jvm.dll+0x7da48e]
V [jvm.dll+0x7daaf3]
V [jvm.dll+0x2455ff]
V [jvm.dll+0x6749b9]
V [jvm.dll+0x669382]
V [jvm.dll+0x302e96]
V [jvm.dll+0x30a416]
V [jvm.dll+0x359cbe]
V [jvm.dll+0x359eef]
V [jvm.dll+0x2d9e88]
V [jvm.dll+0x2dadf4]
V [jvm.dll+0x7aa551]
V [jvm.dll+0x367911]
V [jvm.dll+0x789639]
V [jvm.dll+0x3eb30f]
V [jvm.dll+0x3ecd91]
C [jli.dll+0x5297]
C [ucrtbase.dll+0x29333]
C [KERNEL32.DLL+0x1257d]
C [ntdll.dll+0x5aa48]
--------------- P R O C E S S ---------------
Threads class SMR info:
_java_thread_list=0x00007ffcc2e96a18, length=0, elements={
}
Java Threads: ( => current thread )
Other Threads:
0x00000298a8c3d320 GCTaskThread "GC Thread#0" [stack: 0x000000f4f9300000,0x000000f4f9400000] [id=1720]
0x00000298a8c4f240 ConcurrentGCThread "G1 Main Marker" [stack: 0x000000f4f9400000,0x000000f4f9500000] [id=4176]
0x00000298a8c50c60 ConcurrentGCThread "G1 Conc#0" [stack: 0x000000f4f9500000,0x000000f4f9600000] [id=24796]
[error occurred during error reporting (printing all threads), id 0xc0000005, EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffcc26caae7]
VM state: not at safepoint (not fully initialized)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x00000298a8bccc50] Heap_lock - owner thread: 0x00000298a8bd1ca0
Heap address: 0x0000000704400000, size: 4028 MB, Compressed Oops mode: Zero based, Oop shift amount: 3
CDS archive(s) mapped at: [0x0000000000000000-0x0000000000000000-0x0000000000000000), size 0, SharedBaseAddress: 0x0000000800000000, ArchiveRelocationMode: 1.
Narrow klass base: 0x0000000000000000, Narrow klass shift: 0, Narrow klass range: 0x0
GC Precious Log:
<Empty>
Heap:
garbage-first heap total 0K, used 0K [0x0000000704400000, 0x0000000800000000)
region size 2048K, 0 young (0K), 0 survivors (0K)
[error occurred during error reporting (printing heap information), id 0xc0000005, EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffcc2ab1249]
GC Heap History (0 events):
No events
Deoptimization events (0 events):
No events
Classes unloaded (0 events):
No events
Classes redefined (0 events):
No events
Internal exceptions (0 events):
No events
VM Operations (0 events):
No events
Events (1 events):
Event: 0.007 Loaded shared library D:\Java\jdk-17\bin\java.dll
Dynamic libraries:
0x00007ff6335e0000 - 0x00007ff6335f0000 D:\Java\jdk-17\bin\java.exe
0x00007ffd62610000 - 0x00007ffd62827000 C:\WINDOWS\SYSTEM32\ntdll.dll
0x00007ffd60750000 - 0x00007ffd60814000 C:\WINDOWS\System32\KERNEL32.DLL
0x00007ffd5f930000 - 0x00007ffd5fcd7000 C:\WINDOWS\System32\KERNELBASE.dll
0x00007ffd5ff90000 - 0x00007ffd600a1000 C:\WINDOWS\System32\ucrtbase.dll
0x00007ffcd4da0000 - 0x00007ffcd4db9000 D:\Java\jdk-17\bin\jli.dll
0x00007ffd61e40000 - 0x00007ffd61ef2000 C:\WINDOWS\System32\ADVAPI32.dll
0x00007ffd01d50000 - 0x00007ffd01d6b000 D:\Java\jdk-17\bin\VCRUNTIME140.dll
0x00007ffd61fb0000 - 0x00007ffd62057000 C:\WINDOWS\System32\msvcrt.dll
0x00007ffd619a0000 - 0x00007ffd61a48000 C:\WINDOWS\System32\sechost.dll
0x00007ffd602a0000 - 0x00007ffd602c8000 C:\WINDOWS\System32\bcrypt.dll
0x00007ffd603c0000 - 0x00007ffd604d5000 C:\WINDOWS\System32\RPCRT4.dll
0x00007ffd60f80000 - 0x00007ffd6112e000 C:\WINDOWS\System32\USER32.dll
0x00007ffd5fec0000 - 0x00007ffd5fee6000 C:\WINDOWS\System32\win32u.dll
0x00007ffd60340000 - 0x00007ffd60369000 C:\WINDOWS\System32\GDI32.dll
0x00007ffd5fce0000 - 0x00007ffd5fdf9000 C:\WINDOWS\System32\gdi32full.dll
0x00007ffd4d420000 - 0x00007ffd4d6b3000 C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.3527_none_270e469b73872a76\COMCTL32.dll
0x00007ffd5fef0000 - 0x00007ffd5ff8a000 C:\WINDOWS\System32\msvcp_win.dll
0x00007ffd3d4f0000 - 0x00007ffd3d4fa000 C:\WINDOWS\SYSTEM32\VERSION.dll
0x00007ffd60540000 - 0x00007ffd60571000 C:\WINDOWS\System32\IMM32.DLL
0x00007ffd3dab0000 - 0x00007ffd3dabc000 D:\Java\jdk-17\bin\vcruntime140_1.dll
0x00007ffd3d7c0000 - 0x00007ffd3d84e000 D:\Java\jdk-17\bin\msvcp140.dll
0x00007ffcc23e0000 - 0x00007ffcc2fbf000 D:\Java\jdk-17\bin\server\jvm.dll
0x00007ffd61d90000 - 0x00007ffd61d98000 C:\WINDOWS\System32\PSAPI.DLL
0x00007ffd0d520000 - 0x00007ffd0d529000 C:\WINDOWS\SYSTEM32\WSOCK32.dll
0x00007ffd61da0000 - 0x00007ffd61e11000 C:\WINDOWS\System32\WS2_32.dll
0x00007ffd54e50000 - 0x00007ffd54e84000 C:\WINDOWS\SYSTEM32\WINMM.dll
0x00007ffd5ea40000 - 0x00007ffd5ea58000 C:\WINDOWS\SYSTEM32\kernel.appcore.dll
0x00007ffd4d340000 - 0x00007ffd4d34a000 D:\Java\jdk-17\bin\jimage.dll
0x00007ffd5cd40000 - 0x00007ffd5cf72000 C:\WINDOWS\SYSTEM32\DBGHELP.DLL
0x00007ffd60b70000 - 0x00007ffd60ef8000 C:\WINDOWS\System32\combase.dll
0x00007ffd624f0000 - 0x00007ffd625c7000 C:\WINDOWS\System32\OLEAUT32.dll
0x00007ffd509c0000 - 0x00007ffd509f2000 C:\WINDOWS\SYSTEM32\dbgcore.DLL
0x00007ffd600b0000 - 0x00007ffd60129000 C:\WINDOWS\System32\bcryptPrimitives.dll
0x00007ffd4d310000 - 0x00007ffd4d335000 D:\Java\jdk-17\bin\java.dll
dbghelp: loaded successfully - version: 4.0.5 - missing functions: none
symbol engine: initialized successfully - sym options: 0x614 - pdb path: .;D:\Java\jdk-17\bin;C:\WINDOWS\SYSTEM32;C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.3527_none_270e469b73872a76;D:\Java\jdk-17\bin\server
VM Arguments:
jvm_args: -Dmaven.multiModuleProjectDirectory=D:\work\IotDB -Djansi.passthrough=true -Dmaven.home=D:\maven\apache-maven-3.6.3 -Dclassworlds.conf=D:\maven\apache-maven-3.6.3\bin\m2.conf -Dmaven.ext.class.path=D:\idea2023\IntelliJ IDEA 2023.3.4\plugins\maven\lib\maven-event-listener.jar -Dfile.encoding=UTF-8
java_command: org.codehaus.classworlds.Launcher -Didea.version=2023.3.4 -s D:\maven\apache-maven-3.6.3\conf\settings.xml install
java_class_path (initial): D:\maven\apache-maven-3.6.3\boot\plexus-classworlds-2.6.0.jar;D:\maven\apache-maven-3.6.3\boot\plexus-classworlds.license
Launcher Type: SUN_STANDARD
[Global flags]
intx CICompilerCount = 12 {product} {ergonomic}
uint ConcGCThreads = 4 {product} {ergonomic}
uint G1ConcRefinementThreads = 15 {product} {ergonomic}
size_t G1HeapRegionSize = 2097152 {product} {ergonomic}
uintx GCDrainStackTargetSize = 64 {product} {ergonomic}
size_t InitialHeapSize = 264241152 {product} {ergonomic}
size_t MarkStackSize = 4194304 {product} {ergonomic}
size_t MaxHeapSize = 4223664128 {product} {ergonomic}
size_t MinHeapDeltaBytes = 2097152 {product} {ergonomic}
size_t MinHeapSize = 8388608 {product} {ergonomic}
uintx NonNMethodCodeHeapSize = 7602480 {pd product} {ergonomic}
uintx NonProfiledCodeHeapSize = 122027880 {pd product} {ergonomic}
uintx ProfiledCodeHeapSize = 122027880 {pd product} {ergonomic}
uintx ReservedCodeCacheSize = 251658240 {pd product} {ergonomic}
bool SegmentedCodeCache = true {product} {ergonomic}
size_t SoftMaxHeapSize = 4223664128 {manageable} {ergonomic}
bool UseCompressedClassPointers = true {product lp64_product} {ergonomic}
bool UseCompressedOops = true {product lp64_product} {ergonomic}
bool UseG1GC = true {product} {ergonomic}
bool UseLargePagesIndividualAllocation = false {pd product} {ergonomic}
Logging:
Log output configuration:
#0: stdout all=warning uptime,level,tags
#1: stderr all=off uptime,level,tags
Environment Variables:
JAVA_HOME=D:\java\jdk-17
CLASSPATH=.;D:\java\jdk-17\lib;%JAVA_HOME\lib\tools.jar
PATH=C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\NetSarang;D:\Program Files (x86)\VMware\VMware Workstation\bin\;C:\ProgramData\Oracle\Java\javapath;D:\java\jdk-17\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\MySQL\MySQL Server 5.5\bin;C:\Program Files\dotnet\;D:\maven\apache-maven-3.6.3\bin;C:\Program Files\nodejs\;D:\git\Git\cmd;C:\Users\86157\AppData\Local\Microsoft\WindowsApps;D:\LenovoSoftstore\Install\QQliuxidating\QQGameTempest\Hall.57808\;C:\Users\86157\AppData\Roaming\npm;D:\git\Git\cmd;D:\java\jdk-17\bin;D:\java\jdk-17;D:\bigdata\zookeeper\apache-zookeeper-3.6.4-bin\bin;
USERNAME=86157
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 154 Stepping 3, GenuineIntel
--------------- S Y S T E M ---------------
OS:
Windows 11 , 64 bit Build 22621 (10.0.22621.3527)
OS uptime: 0 days 0:36 hours
CPU: total 20 (initial active 20) (10 cores per cpu, 2 threads per core) family 6 model 154 stepping 3 microcode 0x41b, cx8, cmov, fxsr, ht, mmx, 3dnowpref, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, lzcnt, tsc, tscinvbit, avx, avx2, aes, erms, clmul, bmi1, bmi2, adx, sha, fma, vzeroupper, clflush, clflushopt, clwb
Memory: 4k page, system-wide physical 16109M (895M free)
TotalPageFile size 51272M (AvailPageFile size 190M)
current process WorkingSet (physical memory assigned to process): 11M, peak: 11M
current process commit charge ("private bytes"): 75M, peak: 327M
vm_info: Java HotSpot(TM) 64-Bit Server VM (17.0.10+11-LTS-240) for windows-amd64 JRE (17.0.10+11-LTS-240), built on Dec 19 2023 21:47:25 by "mach5one" with MS VC++ 17.1 (VS2022)
END.

219
hs_err_pid14016.log 100644
View File

@ -0,0 +1,219 @@
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 264241152 bytes for G1 virtual space
# Possible reasons:
# The system is out of physical RAM or swap space
# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# JVM is running with Zero Based Compressed Oops mode in which the Java heap is
# placed in the first 32GB address space. The Java Heap base address is the
# maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
# to set the Java Heap base and to place the Java Heap above 32GB virtual address.
# This output file may be truncated or incomplete.
#
# Out of Memory Error (os_windows.cpp:3548), pid=14016, tid=20680
#
# JRE version: (17.0.10+11) (build )
# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0.10+11-LTS-240, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
--------------- S U M M A R Y ------------
Command Line: -Dmaven.multiModuleProjectDirectory=D:\work\IotDB -Djansi.passthrough=true -Dmaven.home=D:\maven\apache-maven-3.6.3 -Dclassworlds.conf=D:\maven\apache-maven-3.6.3\bin\m2.conf -Dmaven.ext.class.path=D:\idea2023\IntelliJ IDEA 2023.3.4\plugins\maven\lib\maven-event-listener.jar -Dfile.encoding=UTF-8 org.codehaus.classworlds.Launcher -Didea.version=2023.3.4 -s D:\maven\apache-maven-3.6.3\conf\settings.xml install
Host: 12th Gen Intel(R) Core(TM) i9-12900H, 20 cores, 15G, Windows 11 , 64 bit Build 22621 (10.0.22621.3527)
Time: Fri Jun 21 20:29:55 2024 Windows 11 , 64 bit Build 22621 (10.0.22621.3527) elapsed time: 0.010728 seconds (0d 0h 0m 0s)
--------------- T H R E A D ---------------
Current thread (0x000002a14f091180): JavaThread "Unknown thread" [_thread_in_vm, id=20680, stack(0x000000f869b00000,0x000000f869c00000)]
Stack: [0x000000f869b00000,0x000000f869c00000]
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x677a5a]
V [jvm.dll+0x7d8b2d]
V [jvm.dll+0x7da48e]
V [jvm.dll+0x7daaf3]
V [jvm.dll+0x2455ff]
V [jvm.dll+0x6749b9]
V [jvm.dll+0x669382]
V [jvm.dll+0x302e96]
V [jvm.dll+0x30a416]
V [jvm.dll+0x359cbe]
V [jvm.dll+0x359eef]
V [jvm.dll+0x2d9e88]
V [jvm.dll+0x2dadf4]
V [jvm.dll+0x7aa551]
V [jvm.dll+0x367911]
V [jvm.dll+0x789639]
V [jvm.dll+0x3eb30f]
V [jvm.dll+0x3ecd91]
C [jli.dll+0x5297]
C [ucrtbase.dll+0x29333]
C [KERNEL32.DLL+0x1257d]
C [ntdll.dll+0x5aa48]
--------------- P R O C E S S ---------------
Threads class SMR info:
_java_thread_list=0x00007ffcc2e96a18, length=0, elements={
}
Java Threads: ( => current thread )
Other Threads:
0x000002a14f0fdb70 GCTaskThread "GC Thread#0" [stack: 0x000000f869c00000,0x000000f869d00000] [id=3376]
0x000002a14f10f700 ConcurrentGCThread "G1 Main Marker" [stack: 0x000000f869d00000,0x000000f869e00000] [id=26360]
0x000002a14f111130 ConcurrentGCThread "G1 Conc#0" [stack: 0x000000f869e00000,0x000000f869f00000] [id=14840]
[error occurred during error reporting (printing all threads), id 0xc0000005, EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffcc26caae7]
VM state: not at safepoint (not fully initialized)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x000002a14f08ce10] Heap_lock - owner thread: 0x000002a14f091180
Heap address: 0x0000000704400000, size: 4028 MB, Compressed Oops mode: Zero based, Oop shift amount: 3
CDS archive(s) mapped at: [0x0000000000000000-0x0000000000000000-0x0000000000000000), size 0, SharedBaseAddress: 0x0000000800000000, ArchiveRelocationMode: 1.
Narrow klass base: 0x0000000000000000, Narrow klass shift: 0, Narrow klass range: 0x0
GC Precious Log:
<Empty>
Heap:
garbage-first heap total 0K, used 0K [0x0000000704400000, 0x0000000800000000)
region size 2048K, 0 young (0K), 0 survivors (0K)
[error occurred during error reporting (printing heap information), id 0xc0000005, EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffcc2ab1249]
GC Heap History (0 events):
No events
Deoptimization events (0 events):
No events
Classes unloaded (0 events):
No events
Classes redefined (0 events):
No events
Internal exceptions (0 events):
No events
VM Operations (0 events):
No events
Events (1 events):
Event: 0.006 Loaded shared library D:\Java\jdk-17\bin\java.dll
Dynamic libraries:
0x00007ff6335e0000 - 0x00007ff6335f0000 D:\Java\jdk-17\bin\java.exe
0x00007ffd62610000 - 0x00007ffd62827000 C:\WINDOWS\SYSTEM32\ntdll.dll
0x00007ffd60750000 - 0x00007ffd60814000 C:\WINDOWS\System32\KERNEL32.DLL
0x00007ffd5f930000 - 0x00007ffd5fcd7000 C:\WINDOWS\System32\KERNELBASE.dll
0x00007ffd5ff90000 - 0x00007ffd600a1000 C:\WINDOWS\System32\ucrtbase.dll
0x00007ffcd4da0000 - 0x00007ffcd4db9000 D:\Java\jdk-17\bin\jli.dll
0x00007ffd01d50000 - 0x00007ffd01d6b000 D:\Java\jdk-17\bin\VCRUNTIME140.dll
0x00007ffd61e40000 - 0x00007ffd61ef2000 C:\WINDOWS\System32\ADVAPI32.dll
0x00007ffd61fb0000 - 0x00007ffd62057000 C:\WINDOWS\System32\msvcrt.dll
0x00007ffd619a0000 - 0x00007ffd61a48000 C:\WINDOWS\System32\sechost.dll
0x00007ffd602a0000 - 0x00007ffd602c8000 C:\WINDOWS\System32\bcrypt.dll
0x00007ffd603c0000 - 0x00007ffd604d5000 C:\WINDOWS\System32\RPCRT4.dll
0x00007ffd60f80000 - 0x00007ffd6112e000 C:\WINDOWS\System32\USER32.dll
0x00007ffd5fec0000 - 0x00007ffd5fee6000 C:\WINDOWS\System32\win32u.dll
0x00007ffd4d420000 - 0x00007ffd4d6b3000 C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.3527_none_270e469b73872a76\COMCTL32.dll
0x00007ffd60340000 - 0x00007ffd60369000 C:\WINDOWS\System32\GDI32.dll
0x00007ffd5fce0000 - 0x00007ffd5fdf9000 C:\WINDOWS\System32\gdi32full.dll
0x00007ffd5fef0000 - 0x00007ffd5ff8a000 C:\WINDOWS\System32\msvcp_win.dll
0x00007ffd3d4f0000 - 0x00007ffd3d4fa000 C:\WINDOWS\SYSTEM32\VERSION.dll
0x00007ffd60540000 - 0x00007ffd60571000 C:\WINDOWS\System32\IMM32.DLL
0x00007ffd3dab0000 - 0x00007ffd3dabc000 D:\Java\jdk-17\bin\vcruntime140_1.dll
0x00007ffd3d7c0000 - 0x00007ffd3d84e000 D:\Java\jdk-17\bin\msvcp140.dll
0x00007ffcc23e0000 - 0x00007ffcc2fbf000 D:\Java\jdk-17\bin\server\jvm.dll
0x00007ffd61d90000 - 0x00007ffd61d98000 C:\WINDOWS\System32\PSAPI.DLL
0x00007ffd0d520000 - 0x00007ffd0d529000 C:\WINDOWS\SYSTEM32\WSOCK32.dll
0x00007ffd61da0000 - 0x00007ffd61e11000 C:\WINDOWS\System32\WS2_32.dll
0x00007ffd54e50000 - 0x00007ffd54e84000 C:\WINDOWS\SYSTEM32\WINMM.dll
0x00007ffd5ea40000 - 0x00007ffd5ea58000 C:\WINDOWS\SYSTEM32\kernel.appcore.dll
0x00007ffd4d340000 - 0x00007ffd4d34a000 D:\Java\jdk-17\bin\jimage.dll
0x00007ffd5cd40000 - 0x00007ffd5cf72000 C:\WINDOWS\SYSTEM32\DBGHELP.DLL
0x00007ffd60b70000 - 0x00007ffd60ef8000 C:\WINDOWS\System32\combase.dll
0x00007ffd624f0000 - 0x00007ffd625c7000 C:\WINDOWS\System32\OLEAUT32.dll
0x00007ffd509c0000 - 0x00007ffd509f2000 C:\WINDOWS\SYSTEM32\dbgcore.DLL
0x00007ffd600b0000 - 0x00007ffd60129000 C:\WINDOWS\System32\bcryptPrimitives.dll
0x00007ffd4d310000 - 0x00007ffd4d335000 D:\Java\jdk-17\bin\java.dll
dbghelp: loaded successfully - version: 4.0.5 - missing functions: none
symbol engine: initialized successfully - sym options: 0x614 - pdb path: .;D:\Java\jdk-17\bin;C:\WINDOWS\SYSTEM32;C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.3527_none_270e469b73872a76;D:\Java\jdk-17\bin\server
VM Arguments:
jvm_args: -Dmaven.multiModuleProjectDirectory=D:\work\IotDB -Djansi.passthrough=true -Dmaven.home=D:\maven\apache-maven-3.6.3 -Dclassworlds.conf=D:\maven\apache-maven-3.6.3\bin\m2.conf -Dmaven.ext.class.path=D:\idea2023\IntelliJ IDEA 2023.3.4\plugins\maven\lib\maven-event-listener.jar -Dfile.encoding=UTF-8
java_command: org.codehaus.classworlds.Launcher -Didea.version=2023.3.4 -s D:\maven\apache-maven-3.6.3\conf\settings.xml install
java_class_path (initial): D:\maven\apache-maven-3.6.3\boot\plexus-classworlds-2.6.0.jar;D:\maven\apache-maven-3.6.3\boot\plexus-classworlds.license
Launcher Type: SUN_STANDARD
[Global flags]
intx CICompilerCount = 12 {product} {ergonomic}
uint ConcGCThreads = 4 {product} {ergonomic}
uint G1ConcRefinementThreads = 15 {product} {ergonomic}
size_t G1HeapRegionSize = 2097152 {product} {ergonomic}
uintx GCDrainStackTargetSize = 64 {product} {ergonomic}
size_t InitialHeapSize = 264241152 {product} {ergonomic}
size_t MarkStackSize = 4194304 {product} {ergonomic}
size_t MaxHeapSize = 4223664128 {product} {ergonomic}
size_t MinHeapDeltaBytes = 2097152 {product} {ergonomic}
size_t MinHeapSize = 8388608 {product} {ergonomic}
uintx NonNMethodCodeHeapSize = 7602480 {pd product} {ergonomic}
uintx NonProfiledCodeHeapSize = 122027880 {pd product} {ergonomic}
uintx ProfiledCodeHeapSize = 122027880 {pd product} {ergonomic}
uintx ReservedCodeCacheSize = 251658240 {pd product} {ergonomic}
bool SegmentedCodeCache = true {product} {ergonomic}
size_t SoftMaxHeapSize = 4223664128 {manageable} {ergonomic}
bool UseCompressedClassPointers = true {product lp64_product} {ergonomic}
bool UseCompressedOops = true {product lp64_product} {ergonomic}
bool UseG1GC = true {product} {ergonomic}
bool UseLargePagesIndividualAllocation = false {pd product} {ergonomic}
Logging:
Log output configuration:
#0: stdout all=warning uptime,level,tags
#1: stderr all=off uptime,level,tags
Environment Variables:
JAVA_HOME=D:\java\jdk-17
CLASSPATH=.;D:\java\jdk-17\lib;%JAVA_HOME\lib\tools.jar
PATH=C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\NetSarang;D:\Program Files (x86)\VMware\VMware Workstation\bin\;C:\ProgramData\Oracle\Java\javapath;D:\java\jdk-17\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\MySQL\MySQL Server 5.5\bin;C:\Program Files\dotnet\;D:\maven\apache-maven-3.6.3\bin;C:\Program Files\nodejs\;D:\git\Git\cmd;C:\Users\86157\AppData\Local\Microsoft\WindowsApps;D:\LenovoSoftstore\Install\QQliuxidating\QQGameTempest\Hall.57808\;C:\Users\86157\AppData\Roaming\npm;D:\git\Git\cmd;D:\java\jdk-17\bin;D:\java\jdk-17;D:\bigdata\zookeeper\apache-zookeeper-3.6.4-bin\bin;
USERNAME=86157
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 154 Stepping 3, GenuineIntel
--------------- S Y S T E M ---------------
OS:
Windows 11 , 64 bit Build 22621 (10.0.22621.3527)
OS uptime: 0 days 0:36 hours
CPU: total 20 (initial active 20) (10 cores per cpu, 2 threads per core) family 6 model 154 stepping 3 microcode 0x41b, cx8, cmov, fxsr, ht, mmx, 3dnowpref, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, lzcnt, tsc, tscinvbit, avx, avx2, aes, erms, clmul, bmi1, bmi2, adx, sha, fma, vzeroupper, clflush, clflushopt, clwb
Memory: 4k page, system-wide physical 16109M (1063M free)
TotalPageFile size 51272M (AvailPageFile size 241M)
current process WorkingSet (physical memory assigned to process): 11M, peak: 11M
current process commit charge ("private bytes"): 75M, peak: 327M
vm_info: Java HotSpot(TM) 64-Bit Server VM (17.0.10+11-LTS-240) for windows-amd64 JRE (17.0.10+11-LTS-240), built on Dec 19 2023 21:47:25 by "mach5one" with MS VC++ 17.1 (VS2022)
END.

219
hs_err_pid15840.log 100644
View File

@ -0,0 +1,219 @@
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 264241152 bytes for G1 virtual space
# Possible reasons:
# The system is out of physical RAM or swap space
# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# JVM is running with Zero Based Compressed Oops mode in which the Java heap is
# placed in the first 32GB address space. The Java Heap base address is the
# maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
# to set the Java Heap base and to place the Java Heap above 32GB virtual address.
# This output file may be truncated or incomplete.
#
# Out of Memory Error (os_windows.cpp:3548), pid=15840, tid=26516
#
# JRE version: (17.0.10+11) (build )
# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0.10+11-LTS-240, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
--------------- S U M M A R Y ------------
Command Line: -Dmaven.multiModuleProjectDirectory=D:\work\IotDB -Djansi.passthrough=true -Dmaven.home=D:\maven\apache-maven-3.6.3 -Dclassworlds.conf=D:\maven\apache-maven-3.6.3\bin\m2.conf -Dmaven.ext.class.path=D:\idea2023\IntelliJ IDEA 2023.3.4\plugins\maven\lib\maven-event-listener.jar -Dfile.encoding=UTF-8 org.codehaus.classworlds.Launcher -Didea.version=2023.3.4 -s D:\maven\apache-maven-3.6.3\conf\settings.xml install
Host: 12th Gen Intel(R) Core(TM) i9-12900H, 20 cores, 15G, Windows 11 , 64 bit Build 22621 (10.0.22621.3527)
Time: Fri Jun 21 20:30:16 2024 Windows 11 , 64 bit Build 22621 (10.0.22621.3527) elapsed time: 0.017747 seconds (0d 0h 0m 0s)
--------------- T H R E A D ---------------
Current thread (0x0000020e100b1580): JavaThread "Unknown thread" [_thread_in_vm, id=26516, stack(0x0000001cd5000000,0x0000001cd5100000)]
Stack: [0x0000001cd5000000,0x0000001cd5100000]
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x677a5a]
V [jvm.dll+0x7d8b2d]
V [jvm.dll+0x7da48e]
V [jvm.dll+0x7daaf3]
V [jvm.dll+0x2455ff]
V [jvm.dll+0x6749b9]
V [jvm.dll+0x669382]
V [jvm.dll+0x302e96]
V [jvm.dll+0x30a416]
V [jvm.dll+0x359cbe]
V [jvm.dll+0x359eef]
V [jvm.dll+0x2d9e88]
V [jvm.dll+0x2dadf4]
V [jvm.dll+0x7aa551]
V [jvm.dll+0x367911]
V [jvm.dll+0x789639]
V [jvm.dll+0x3eb30f]
V [jvm.dll+0x3ecd91]
C [jli.dll+0x5297]
C [ucrtbase.dll+0x29333]
C [KERNEL32.DLL+0x1257d]
C [ntdll.dll+0x5aa48]
--------------- P R O C E S S ---------------
Threads class SMR info:
_java_thread_list=0x00007ffcc2e96a18, length=0, elements={
}
Java Threads: ( => current thread )
Other Threads:
0x0000020e1011dd70 GCTaskThread "GC Thread#0" [stack: 0x0000001cd5100000,0x0000001cd5200000] [id=3068]
0x0000020e1012f890 ConcurrentGCThread "G1 Main Marker" [stack: 0x0000001cd5200000,0x0000001cd5300000] [id=24396]
0x0000020e101322c0 ConcurrentGCThread "G1 Conc#0" [stack: 0x0000001cd5300000,0x0000001cd5400000] [id=5096]
[error occurred during error reporting (printing all threads), id 0xc0000005, EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffcc26caae7]
VM state: not at safepoint (not fully initialized)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x0000020e100ab8b0] Heap_lock - owner thread: 0x0000020e100b1580
Heap address: 0x0000000704400000, size: 4028 MB, Compressed Oops mode: Zero based, Oop shift amount: 3
CDS archive(s) mapped at: [0x0000000000000000-0x0000000000000000-0x0000000000000000), size 0, SharedBaseAddress: 0x0000000800000000, ArchiveRelocationMode: 1.
Narrow klass base: 0x0000000000000000, Narrow klass shift: 0, Narrow klass range: 0x0
GC Precious Log:
<Empty>
Heap:
garbage-first heap total 0K, used 0K [0x0000000704400000, 0x0000000800000000)
region size 2048K, 0 young (0K), 0 survivors (0K)
[error occurred during error reporting (printing heap information), id 0xc0000005, EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffcc2ab1249]
GC Heap History (0 events):
No events
Deoptimization events (0 events):
No events
Classes unloaded (0 events):
No events
Classes redefined (0 events):
No events
Internal exceptions (0 events):
No events
VM Operations (0 events):
No events
Events (1 events):
Event: 0.007 Loaded shared library D:\Java\jdk-17\bin\java.dll
Dynamic libraries:
0x00007ff6335e0000 - 0x00007ff6335f0000 D:\Java\jdk-17\bin\java.exe
0x00007ffd62610000 - 0x00007ffd62827000 C:\WINDOWS\SYSTEM32\ntdll.dll
0x00007ffd60750000 - 0x00007ffd60814000 C:\WINDOWS\System32\KERNEL32.DLL
0x00007ffd5f930000 - 0x00007ffd5fcd7000 C:\WINDOWS\System32\KERNELBASE.dll
0x00007ffd5ff90000 - 0x00007ffd600a1000 C:\WINDOWS\System32\ucrtbase.dll
0x00007ffd01d50000 - 0x00007ffd01d6b000 D:\Java\jdk-17\bin\VCRUNTIME140.dll
0x00007ffcd4da0000 - 0x00007ffcd4db9000 D:\Java\jdk-17\bin\jli.dll
0x00007ffd61e40000 - 0x00007ffd61ef2000 C:\WINDOWS\System32\ADVAPI32.dll
0x00007ffd61fb0000 - 0x00007ffd62057000 C:\WINDOWS\System32\msvcrt.dll
0x00007ffd619a0000 - 0x00007ffd61a48000 C:\WINDOWS\System32\sechost.dll
0x00007ffd602a0000 - 0x00007ffd602c8000 C:\WINDOWS\System32\bcrypt.dll
0x00007ffd603c0000 - 0x00007ffd604d5000 C:\WINDOWS\System32\RPCRT4.dll
0x00007ffd60f80000 - 0x00007ffd6112e000 C:\WINDOWS\System32\USER32.dll
0x00007ffd5fec0000 - 0x00007ffd5fee6000 C:\WINDOWS\System32\win32u.dll
0x00007ffd60340000 - 0x00007ffd60369000 C:\WINDOWS\System32\GDI32.dll
0x00007ffd4d420000 - 0x00007ffd4d6b3000 C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.3527_none_270e469b73872a76\COMCTL32.dll
0x00007ffd5fce0000 - 0x00007ffd5fdf9000 C:\WINDOWS\System32\gdi32full.dll
0x00007ffd5fef0000 - 0x00007ffd5ff8a000 C:\WINDOWS\System32\msvcp_win.dll
0x00007ffd3d4f0000 - 0x00007ffd3d4fa000 C:\WINDOWS\SYSTEM32\VERSION.dll
0x00007ffd60540000 - 0x00007ffd60571000 C:\WINDOWS\System32\IMM32.DLL
0x00007ffd3dab0000 - 0x00007ffd3dabc000 D:\Java\jdk-17\bin\vcruntime140_1.dll
0x00007ffd3d7c0000 - 0x00007ffd3d84e000 D:\Java\jdk-17\bin\msvcp140.dll
0x00007ffcc23e0000 - 0x00007ffcc2fbf000 D:\Java\jdk-17\bin\server\jvm.dll
0x00007ffd61d90000 - 0x00007ffd61d98000 C:\WINDOWS\System32\PSAPI.DLL
0x00007ffd54e50000 - 0x00007ffd54e84000 C:\WINDOWS\SYSTEM32\WINMM.dll
0x00007ffd0d520000 - 0x00007ffd0d529000 C:\WINDOWS\SYSTEM32\WSOCK32.dll
0x00007ffd61da0000 - 0x00007ffd61e11000 C:\WINDOWS\System32\WS2_32.dll
0x00007ffd5ea40000 - 0x00007ffd5ea58000 C:\WINDOWS\SYSTEM32\kernel.appcore.dll
0x00007ffd4d340000 - 0x00007ffd4d34a000 D:\Java\jdk-17\bin\jimage.dll
0x00007ffd5cd40000 - 0x00007ffd5cf72000 C:\WINDOWS\SYSTEM32\DBGHELP.DLL
0x00007ffd60b70000 - 0x00007ffd60ef8000 C:\WINDOWS\System32\combase.dll
0x00007ffd624f0000 - 0x00007ffd625c7000 C:\WINDOWS\System32\OLEAUT32.dll
0x00007ffd509c0000 - 0x00007ffd509f2000 C:\WINDOWS\SYSTEM32\dbgcore.DLL
0x00007ffd600b0000 - 0x00007ffd60129000 C:\WINDOWS\System32\bcryptPrimitives.dll
0x00007ffd4d310000 - 0x00007ffd4d335000 D:\Java\jdk-17\bin\java.dll
dbghelp: loaded successfully - version: 4.0.5 - missing functions: none
symbol engine: initialized successfully - sym options: 0x614 - pdb path: .;D:\Java\jdk-17\bin;C:\WINDOWS\SYSTEM32;C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.3527_none_270e469b73872a76;D:\Java\jdk-17\bin\server
VM Arguments:
jvm_args: -Dmaven.multiModuleProjectDirectory=D:\work\IotDB -Djansi.passthrough=true -Dmaven.home=D:\maven\apache-maven-3.6.3 -Dclassworlds.conf=D:\maven\apache-maven-3.6.3\bin\m2.conf -Dmaven.ext.class.path=D:\idea2023\IntelliJ IDEA 2023.3.4\plugins\maven\lib\maven-event-listener.jar -Dfile.encoding=UTF-8
java_command: org.codehaus.classworlds.Launcher -Didea.version=2023.3.4 -s D:\maven\apache-maven-3.6.3\conf\settings.xml install
java_class_path (initial): D:\maven\apache-maven-3.6.3\boot\plexus-classworlds-2.6.0.jar;D:\maven\apache-maven-3.6.3\boot\plexus-classworlds.license
Launcher Type: SUN_STANDARD
[Global flags]
intx CICompilerCount = 12 {product} {ergonomic}
uint ConcGCThreads = 4 {product} {ergonomic}
uint G1ConcRefinementThreads = 15 {product} {ergonomic}
size_t G1HeapRegionSize = 2097152 {product} {ergonomic}
uintx GCDrainStackTargetSize = 64 {product} {ergonomic}
size_t InitialHeapSize = 264241152 {product} {ergonomic}
size_t MarkStackSize = 4194304 {product} {ergonomic}
size_t MaxHeapSize = 4223664128 {product} {ergonomic}
size_t MinHeapDeltaBytes = 2097152 {product} {ergonomic}
size_t MinHeapSize = 8388608 {product} {ergonomic}
uintx NonNMethodCodeHeapSize = 7602480 {pd product} {ergonomic}
uintx NonProfiledCodeHeapSize = 122027880 {pd product} {ergonomic}
uintx ProfiledCodeHeapSize = 122027880 {pd product} {ergonomic}
uintx ReservedCodeCacheSize = 251658240 {pd product} {ergonomic}
bool SegmentedCodeCache = true {product} {ergonomic}
size_t SoftMaxHeapSize = 4223664128 {manageable} {ergonomic}
bool UseCompressedClassPointers = true {product lp64_product} {ergonomic}
bool UseCompressedOops = true {product lp64_product} {ergonomic}
bool UseG1GC = true {product} {ergonomic}
bool UseLargePagesIndividualAllocation = false {pd product} {ergonomic}
Logging:
Log output configuration:
#0: stdout all=warning uptime,level,tags
#1: stderr all=off uptime,level,tags
Environment Variables:
JAVA_HOME=D:\java\jdk-17
CLASSPATH=.;D:\java\jdk-17\lib;%JAVA_HOME\lib\tools.jar
PATH=C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\NetSarang;D:\Program Files (x86)\VMware\VMware Workstation\bin\;C:\ProgramData\Oracle\Java\javapath;D:\java\jdk-17\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\MySQL\MySQL Server 5.5\bin;C:\Program Files\dotnet\;D:\maven\apache-maven-3.6.3\bin;C:\Program Files\nodejs\;D:\git\Git\cmd;C:\Users\86157\AppData\Local\Microsoft\WindowsApps;D:\LenovoSoftstore\Install\QQliuxidating\QQGameTempest\Hall.57808\;C:\Users\86157\AppData\Roaming\npm;D:\git\Git\cmd;D:\java\jdk-17\bin;D:\java\jdk-17;D:\bigdata\zookeeper\apache-zookeeper-3.6.4-bin\bin;
USERNAME=86157
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 154 Stepping 3, GenuineIntel
--------------- S Y S T E M ---------------
OS:
Windows 11 , 64 bit Build 22621 (10.0.22621.3527)
OS uptime: 0 days 0:36 hours
CPU: total 20 (initial active 20) (10 cores per cpu, 2 threads per core) family 6 model 154 stepping 3 microcode 0x41b, cx8, cmov, fxsr, ht, mmx, 3dnowpref, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, lzcnt, tsc, tscinvbit, avx, avx2, aes, erms, clmul, bmi1, bmi2, adx, sha, fma, vzeroupper, clflush, clflushopt, clwb
Memory: 4k page, system-wide physical 16109M (894M free)
TotalPageFile size 51272M (AvailPageFile size 229M)
current process WorkingSet (physical memory assigned to process): 11M, peak: 11M
current process commit charge ("private bytes"): 75M, peak: 327M
vm_info: Java HotSpot(TM) 64-Bit Server VM (17.0.10+11-LTS-240) for windows-amd64 JRE (17.0.10+11-LTS-240), built on Dec 19 2023 21:47:25 by "mach5one" with MS VC++ 17.1 (VS2022)
END.

219
hs_err_pid16996.log 100644
View File

@ -0,0 +1,219 @@
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 264241152 bytes for G1 virtual space
# Possible reasons:
# The system is out of physical RAM or swap space
# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# JVM is running with Zero Based Compressed Oops mode in which the Java heap is
# placed in the first 32GB address space. The Java Heap base address is the
# maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
# to set the Java Heap base and to place the Java Heap above 32GB virtual address.
# This output file may be truncated or incomplete.
#
# Out of Memory Error (os_windows.cpp:3548), pid=16996, tid=9756
#
# JRE version: (17.0.10+11) (build )
# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0.10+11-LTS-240, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
--------------- S U M M A R Y ------------
Command Line: -Dmaven.multiModuleProjectDirectory=D:\work\IotDB -Djansi.passthrough=true -Dmaven.home=D:\maven\apache-maven-3.6.3 -Dclassworlds.conf=D:\maven\apache-maven-3.6.3\bin\m2.conf -Dmaven.ext.class.path=D:\idea2023\IntelliJ IDEA 2023.3.4\plugins\maven\lib\maven-event-listener.jar -Dfile.encoding=UTF-8 org.codehaus.classworlds.Launcher -Didea.version=2023.3.4 -s D:\maven\apache-maven-3.6.3\conf\settings.xml install
Host: 12th Gen Intel(R) Core(TM) i9-12900H, 20 cores, 15G, Windows 11 , 64 bit Build 22621 (10.0.22621.3527)
Time: Fri Jun 21 20:30:18 2024 Windows 11 , 64 bit Build 22621 (10.0.22621.3527) elapsed time: 0.014597 seconds (0d 0h 0m 0s)
--------------- T H R E A D ---------------
Current thread (0x00000256229112f0): JavaThread "Unknown thread" [_thread_in_vm, id=9756, stack(0x000000a30ca00000,0x000000a30cb00000)]
Stack: [0x000000a30ca00000,0x000000a30cb00000]
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x677a5a]
V [jvm.dll+0x7d8b2d]
V [jvm.dll+0x7da48e]
V [jvm.dll+0x7daaf3]
V [jvm.dll+0x2455ff]
V [jvm.dll+0x6749b9]
V [jvm.dll+0x669382]
V [jvm.dll+0x302e96]
V [jvm.dll+0x30a416]
V [jvm.dll+0x359cbe]
V [jvm.dll+0x359eef]
V [jvm.dll+0x2d9e88]
V [jvm.dll+0x2dadf4]
V [jvm.dll+0x7aa551]
V [jvm.dll+0x367911]
V [jvm.dll+0x789639]
V [jvm.dll+0x3eb30f]
V [jvm.dll+0x3ecd91]
C [jli.dll+0x5297]
C [ucrtbase.dll+0x29333]
C [KERNEL32.DLL+0x1257d]
C [ntdll.dll+0x5aa48]
--------------- P R O C E S S ---------------
Threads class SMR info:
_java_thread_list=0x00007ffcc2e96a18, length=0, elements={
}
Java Threads: ( => current thread )
Other Threads:
0x000002562297d950 GCTaskThread "GC Thread#0" [stack: 0x000000a30cb00000,0x000000a30cc00000] [id=25900]
0x000002562298f870 ConcurrentGCThread "G1 Main Marker" [stack: 0x000000a30cc00000,0x000000a30cd00000] [id=26216]
0x0000025622991290 ConcurrentGCThread "G1 Conc#0" [stack: 0x000000a30cd00000,0x000000a30ce00000] [id=3240]
[error occurred during error reporting (printing all threads), id 0xc0000005, EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffcc26caae7]
VM state: not at safepoint (not fully initialized)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x000002562290b890] Heap_lock - owner thread: 0x00000256229112f0
Heap address: 0x0000000704400000, size: 4028 MB, Compressed Oops mode: Zero based, Oop shift amount: 3
CDS archive(s) mapped at: [0x0000000000000000-0x0000000000000000-0x0000000000000000), size 0, SharedBaseAddress: 0x0000000800000000, ArchiveRelocationMode: 1.
Narrow klass base: 0x0000000000000000, Narrow klass shift: 0, Narrow klass range: 0x0
GC Precious Log:
<Empty>
Heap:
garbage-first heap total 0K, used 0K [0x0000000704400000, 0x0000000800000000)
region size 2048K, 0 young (0K), 0 survivors (0K)
[error occurred during error reporting (printing heap information), id 0xc0000005, EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffcc2ab1249]
GC Heap History (0 events):
No events
Deoptimization events (0 events):
No events
Classes unloaded (0 events):
No events
Classes redefined (0 events):
No events
Internal exceptions (0 events):
No events
VM Operations (0 events):
No events
Events (1 events):
Event: 0.009 Loaded shared library D:\Java\jdk-17\bin\java.dll
Dynamic libraries:
0x00007ff6335e0000 - 0x00007ff6335f0000 D:\Java\jdk-17\bin\java.exe
0x00007ffd62610000 - 0x00007ffd62827000 C:\WINDOWS\SYSTEM32\ntdll.dll
0x00007ffd60750000 - 0x00007ffd60814000 C:\WINDOWS\System32\KERNEL32.DLL
0x00007ffd5f930000 - 0x00007ffd5fcd7000 C:\WINDOWS\System32\KERNELBASE.dll
0x00007ffd5ff90000 - 0x00007ffd600a1000 C:\WINDOWS\System32\ucrtbase.dll
0x00007ffcd4da0000 - 0x00007ffcd4db9000 D:\Java\jdk-17\bin\jli.dll
0x00007ffd61e40000 - 0x00007ffd61ef2000 C:\WINDOWS\System32\ADVAPI32.dll
0x00007ffd61fb0000 - 0x00007ffd62057000 C:\WINDOWS\System32\msvcrt.dll
0x00007ffd619a0000 - 0x00007ffd61a48000 C:\WINDOWS\System32\sechost.dll
0x00007ffd602a0000 - 0x00007ffd602c8000 C:\WINDOWS\System32\bcrypt.dll
0x00007ffd603c0000 - 0x00007ffd604d5000 C:\WINDOWS\System32\RPCRT4.dll
0x00007ffd01d50000 - 0x00007ffd01d6b000 D:\Java\jdk-17\bin\VCRUNTIME140.dll
0x00007ffd60f80000 - 0x00007ffd6112e000 C:\WINDOWS\System32\USER32.dll
0x00007ffd5fec0000 - 0x00007ffd5fee6000 C:\WINDOWS\System32\win32u.dll
0x00007ffd60340000 - 0x00007ffd60369000 C:\WINDOWS\System32\GDI32.dll
0x00007ffd4d420000 - 0x00007ffd4d6b3000 C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.3527_none_270e469b73872a76\COMCTL32.dll
0x00007ffd5fce0000 - 0x00007ffd5fdf9000 C:\WINDOWS\System32\gdi32full.dll
0x00007ffd5fef0000 - 0x00007ffd5ff8a000 C:\WINDOWS\System32\msvcp_win.dll
0x00007ffd3d4f0000 - 0x00007ffd3d4fa000 C:\WINDOWS\SYSTEM32\VERSION.dll
0x00007ffd60540000 - 0x00007ffd60571000 C:\WINDOWS\System32\IMM32.DLL
0x00007ffd3dab0000 - 0x00007ffd3dabc000 D:\Java\jdk-17\bin\vcruntime140_1.dll
0x00007ffd3d7c0000 - 0x00007ffd3d84e000 D:\Java\jdk-17\bin\msvcp140.dll
0x00007ffcc23e0000 - 0x00007ffcc2fbf000 D:\Java\jdk-17\bin\server\jvm.dll
0x00007ffd61d90000 - 0x00007ffd61d98000 C:\WINDOWS\System32\PSAPI.DLL
0x00007ffd0d520000 - 0x00007ffd0d529000 C:\WINDOWS\SYSTEM32\WSOCK32.dll
0x00007ffd61da0000 - 0x00007ffd61e11000 C:\WINDOWS\System32\WS2_32.dll
0x00007ffd54e50000 - 0x00007ffd54e84000 C:\WINDOWS\SYSTEM32\WINMM.dll
0x00007ffd5ea40000 - 0x00007ffd5ea58000 C:\WINDOWS\SYSTEM32\kernel.appcore.dll
0x00007ffd4d340000 - 0x00007ffd4d34a000 D:\Java\jdk-17\bin\jimage.dll
0x00007ffd5cd40000 - 0x00007ffd5cf72000 C:\WINDOWS\SYSTEM32\DBGHELP.DLL
0x00007ffd60b70000 - 0x00007ffd60ef8000 C:\WINDOWS\System32\combase.dll
0x00007ffd624f0000 - 0x00007ffd625c7000 C:\WINDOWS\System32\OLEAUT32.dll
0x00007ffd509c0000 - 0x00007ffd509f2000 C:\WINDOWS\SYSTEM32\dbgcore.DLL
0x00007ffd600b0000 - 0x00007ffd60129000 C:\WINDOWS\System32\bcryptPrimitives.dll
0x00007ffd4d310000 - 0x00007ffd4d335000 D:\Java\jdk-17\bin\java.dll
dbghelp: loaded successfully - version: 4.0.5 - missing functions: none
symbol engine: initialized successfully - sym options: 0x614 - pdb path: .;D:\Java\jdk-17\bin;C:\WINDOWS\SYSTEM32;C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.3527_none_270e469b73872a76;D:\Java\jdk-17\bin\server
VM Arguments:
jvm_args: -Dmaven.multiModuleProjectDirectory=D:\work\IotDB -Djansi.passthrough=true -Dmaven.home=D:\maven\apache-maven-3.6.3 -Dclassworlds.conf=D:\maven\apache-maven-3.6.3\bin\m2.conf -Dmaven.ext.class.path=D:\idea2023\IntelliJ IDEA 2023.3.4\plugins\maven\lib\maven-event-listener.jar -Dfile.encoding=UTF-8
java_command: org.codehaus.classworlds.Launcher -Didea.version=2023.3.4 -s D:\maven\apache-maven-3.6.3\conf\settings.xml install
java_class_path (initial): D:\maven\apache-maven-3.6.3\boot\plexus-classworlds-2.6.0.jar;D:\maven\apache-maven-3.6.3\boot\plexus-classworlds.license
Launcher Type: SUN_STANDARD
[Global flags]
intx CICompilerCount = 12 {product} {ergonomic}
uint ConcGCThreads = 4 {product} {ergonomic}
uint G1ConcRefinementThreads = 15 {product} {ergonomic}
size_t G1HeapRegionSize = 2097152 {product} {ergonomic}
uintx GCDrainStackTargetSize = 64 {product} {ergonomic}
size_t InitialHeapSize = 264241152 {product} {ergonomic}
size_t MarkStackSize = 4194304 {product} {ergonomic}
size_t MaxHeapSize = 4223664128 {product} {ergonomic}
size_t MinHeapDeltaBytes = 2097152 {product} {ergonomic}
size_t MinHeapSize = 8388608 {product} {ergonomic}
uintx NonNMethodCodeHeapSize = 7602480 {pd product} {ergonomic}
uintx NonProfiledCodeHeapSize = 122027880 {pd product} {ergonomic}
uintx ProfiledCodeHeapSize = 122027880 {pd product} {ergonomic}
uintx ReservedCodeCacheSize = 251658240 {pd product} {ergonomic}
bool SegmentedCodeCache = true {product} {ergonomic}
size_t SoftMaxHeapSize = 4223664128 {manageable} {ergonomic}
bool UseCompressedClassPointers = true {product lp64_product} {ergonomic}
bool UseCompressedOops = true {product lp64_product} {ergonomic}
bool UseG1GC = true {product} {ergonomic}
bool UseLargePagesIndividualAllocation = false {pd product} {ergonomic}
Logging:
Log output configuration:
#0: stdout all=warning uptime,level,tags
#1: stderr all=off uptime,level,tags
Environment Variables:
JAVA_HOME=D:\java\jdk-17
CLASSPATH=.;D:\java\jdk-17\lib;%JAVA_HOME\lib\tools.jar
PATH=C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\NetSarang;D:\Program Files (x86)\VMware\VMware Workstation\bin\;C:\ProgramData\Oracle\Java\javapath;D:\java\jdk-17\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\MySQL\MySQL Server 5.5\bin;C:\Program Files\dotnet\;D:\maven\apache-maven-3.6.3\bin;C:\Program Files\nodejs\;D:\git\Git\cmd;C:\Users\86157\AppData\Local\Microsoft\WindowsApps;D:\LenovoSoftstore\Install\QQliuxidating\QQGameTempest\Hall.57808\;C:\Users\86157\AppData\Roaming\npm;D:\git\Git\cmd;D:\java\jdk-17\bin;D:\java\jdk-17;D:\bigdata\zookeeper\apache-zookeeper-3.6.4-bin\bin;
USERNAME=86157
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 154 Stepping 3, GenuineIntel
--------------- S Y S T E M ---------------
OS:
Windows 11 , 64 bit Build 22621 (10.0.22621.3527)
OS uptime: 0 days 0:36 hours
CPU: total 20 (initial active 20) (10 cores per cpu, 2 threads per core) family 6 model 154 stepping 3 microcode 0x41b, cx8, cmov, fxsr, ht, mmx, 3dnowpref, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, lzcnt, tsc, tscinvbit, avx, avx2, aes, erms, clmul, bmi1, bmi2, adx, sha, fma, vzeroupper, clflush, clflushopt, clwb
Memory: 4k page, system-wide physical 16109M (898M free)
TotalPageFile size 51272M (AvailPageFile size 233M)
current process WorkingSet (physical memory assigned to process): 11M, peak: 11M
current process commit charge ("private bytes"): 75M, peak: 327M
vm_info: Java HotSpot(TM) 64-Bit Server VM (17.0.10+11-LTS-240) for windows-amd64 JRE (17.0.10+11-LTS-240), built on Dec 19 2023 21:47:25 by "mach5one" with MS VC++ 17.1 (VS2022)
END.

219
hs_err_pid21532.log 100644
View File

@ -0,0 +1,219 @@
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 264241152 bytes for G1 virtual space
# Possible reasons:
# The system is out of physical RAM or swap space
# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# JVM is running with Zero Based Compressed Oops mode in which the Java heap is
# placed in the first 32GB address space. The Java Heap base address is the
# maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
# to set the Java Heap base and to place the Java Heap above 32GB virtual address.
# This output file may be truncated or incomplete.
#
# Out of Memory Error (os_windows.cpp:3548), pid=21532, tid=12384
#
# JRE version: (17.0.10+11) (build )
# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0.10+11-LTS-240, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
--------------- S U M M A R Y ------------
Command Line: -Dmaven.multiModuleProjectDirectory=D:\work\IotDB -Djansi.passthrough=true -Dmaven.home=D:\maven\apache-maven-3.6.3 -Dclassworlds.conf=D:\maven\apache-maven-3.6.3\bin\m2.conf -Dmaven.ext.class.path=D:\idea2023\IntelliJ IDEA 2023.3.4\plugins\maven\lib\maven-event-listener.jar -Dfile.encoding=UTF-8 org.codehaus.classworlds.Launcher -Didea.version=2023.3.4 -s D:\maven\apache-maven-3.6.3\conf\settings.xml install
Host: 12th Gen Intel(R) Core(TM) i9-12900H, 20 cores, 15G, Windows 11 , 64 bit Build 22621 (10.0.22621.3527)
Time: Fri Jun 21 20:30:16 2024 Windows 11 , 64 bit Build 22621 (10.0.22621.3527) elapsed time: 0.008238 seconds (0d 0h 0m 0s)
--------------- T H R E A D ---------------
Current thread (0x00000174ff5f10b0): JavaThread "Unknown thread" [_thread_in_vm, id=12384, stack(0x0000006f8c800000,0x0000006f8c900000)]
Stack: [0x0000006f8c800000,0x0000006f8c900000]
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x677a5a]
V [jvm.dll+0x7d8b2d]
V [jvm.dll+0x7da48e]
V [jvm.dll+0x7daaf3]
V [jvm.dll+0x2455ff]
V [jvm.dll+0x6749b9]
V [jvm.dll+0x669382]
V [jvm.dll+0x302e96]
V [jvm.dll+0x30a416]
V [jvm.dll+0x359cbe]
V [jvm.dll+0x359eef]
V [jvm.dll+0x2d9e88]
V [jvm.dll+0x2dadf4]
V [jvm.dll+0x7aa551]
V [jvm.dll+0x367911]
V [jvm.dll+0x789639]
V [jvm.dll+0x3eb30f]
V [jvm.dll+0x3ecd91]
C [jli.dll+0x5297]
C [ucrtbase.dll+0x29333]
C [KERNEL32.DLL+0x1257d]
C [ntdll.dll+0x5aa48]
--------------- P R O C E S S ---------------
Threads class SMR info:
_java_thread_list=0x00007ffcc2e96a18, length=0, elements={
}
Java Threads: ( => current thread )
Other Threads:
0x00000174ff65d940 GCTaskThread "GC Thread#0" [stack: 0x0000006f8c900000,0x0000006f8ca00000] [id=22052]
0x00000174ff66f8d0 ConcurrentGCThread "G1 Main Marker" [stack: 0x0000006f8ca00000,0x0000006f8cb00000] [id=16124]
0x00000174ff6712f0 ConcurrentGCThread "G1 Conc#0" [stack: 0x0000006f8cb00000,0x0000006f8cc00000] [id=26232]
[error occurred during error reporting (printing all threads), id 0xc0000005, EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffcc26caae7]
VM state: not at safepoint (not fully initialized)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x00000174ff5ec970] Heap_lock - owner thread: 0x00000174ff5f10b0
Heap address: 0x0000000704400000, size: 4028 MB, Compressed Oops mode: Zero based, Oop shift amount: 3
CDS archive(s) mapped at: [0x0000000000000000-0x0000000000000000-0x0000000000000000), size 0, SharedBaseAddress: 0x0000000800000000, ArchiveRelocationMode: 1.
Narrow klass base: 0x0000000000000000, Narrow klass shift: 0, Narrow klass range: 0x0
GC Precious Log:
<Empty>
Heap:
garbage-first heap total 0K, used 0K [0x0000000704400000, 0x0000000800000000)
region size 2048K, 0 young (0K), 0 survivors (0K)
[error occurred during error reporting (printing heap information), id 0xc0000005, EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffcc2ab1249]
GC Heap History (0 events):
No events
Deoptimization events (0 events):
No events
Classes unloaded (0 events):
No events
Classes redefined (0 events):
No events
Internal exceptions (0 events):
No events
VM Operations (0 events):
No events
Events (1 events):
Event: 0.006 Loaded shared library D:\Java\jdk-17\bin\java.dll
Dynamic libraries:
0x00007ff6335e0000 - 0x00007ff6335f0000 D:\Java\jdk-17\bin\java.exe
0x00007ffd62610000 - 0x00007ffd62827000 C:\WINDOWS\SYSTEM32\ntdll.dll
0x00007ffd60750000 - 0x00007ffd60814000 C:\WINDOWS\System32\KERNEL32.DLL
0x00007ffd5f930000 - 0x00007ffd5fcd7000 C:\WINDOWS\System32\KERNELBASE.dll
0x00007ffd5ff90000 - 0x00007ffd600a1000 C:\WINDOWS\System32\ucrtbase.dll
0x00007ffcd4da0000 - 0x00007ffcd4db9000 D:\Java\jdk-17\bin\jli.dll
0x00007ffd01d50000 - 0x00007ffd01d6b000 D:\Java\jdk-17\bin\VCRUNTIME140.dll
0x00007ffd61e40000 - 0x00007ffd61ef2000 C:\WINDOWS\System32\ADVAPI32.dll
0x00007ffd61fb0000 - 0x00007ffd62057000 C:\WINDOWS\System32\msvcrt.dll
0x00007ffd619a0000 - 0x00007ffd61a48000 C:\WINDOWS\System32\sechost.dll
0x00007ffd602a0000 - 0x00007ffd602c8000 C:\WINDOWS\System32\bcrypt.dll
0x00007ffd603c0000 - 0x00007ffd604d5000 C:\WINDOWS\System32\RPCRT4.dll
0x00007ffd60f80000 - 0x00007ffd6112e000 C:\WINDOWS\System32\USER32.dll
0x00007ffd5fec0000 - 0x00007ffd5fee6000 C:\WINDOWS\System32\win32u.dll
0x00007ffd60340000 - 0x00007ffd60369000 C:\WINDOWS\System32\GDI32.dll
0x00007ffd5fce0000 - 0x00007ffd5fdf9000 C:\WINDOWS\System32\gdi32full.dll
0x00007ffd4d420000 - 0x00007ffd4d6b3000 C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.3527_none_270e469b73872a76\COMCTL32.dll
0x00007ffd5fef0000 - 0x00007ffd5ff8a000 C:\WINDOWS\System32\msvcp_win.dll
0x00007ffd3d4f0000 - 0x00007ffd3d4fa000 C:\WINDOWS\SYSTEM32\VERSION.dll
0x00007ffd60540000 - 0x00007ffd60571000 C:\WINDOWS\System32\IMM32.DLL
0x00007ffd3dab0000 - 0x00007ffd3dabc000 D:\Java\jdk-17\bin\vcruntime140_1.dll
0x00007ffd3d7c0000 - 0x00007ffd3d84e000 D:\Java\jdk-17\bin\msvcp140.dll
0x00007ffcc23e0000 - 0x00007ffcc2fbf000 D:\Java\jdk-17\bin\server\jvm.dll
0x00007ffd61d90000 - 0x00007ffd61d98000 C:\WINDOWS\System32\PSAPI.DLL
0x00007ffd54e50000 - 0x00007ffd54e84000 C:\WINDOWS\SYSTEM32\WINMM.dll
0x00007ffd0d520000 - 0x00007ffd0d529000 C:\WINDOWS\SYSTEM32\WSOCK32.dll
0x00007ffd61da0000 - 0x00007ffd61e11000 C:\WINDOWS\System32\WS2_32.dll
0x00007ffd5ea40000 - 0x00007ffd5ea58000 C:\WINDOWS\SYSTEM32\kernel.appcore.dll
0x00007ffd4d340000 - 0x00007ffd4d34a000 D:\Java\jdk-17\bin\jimage.dll
0x00007ffd5cd40000 - 0x00007ffd5cf72000 C:\WINDOWS\SYSTEM32\DBGHELP.DLL
0x00007ffd60b70000 - 0x00007ffd60ef8000 C:\WINDOWS\System32\combase.dll
0x00007ffd624f0000 - 0x00007ffd625c7000 C:\WINDOWS\System32\OLEAUT32.dll
0x00007ffd509c0000 - 0x00007ffd509f2000 C:\WINDOWS\SYSTEM32\dbgcore.DLL
0x00007ffd600b0000 - 0x00007ffd60129000 C:\WINDOWS\System32\bcryptPrimitives.dll
0x00007ffd4d310000 - 0x00007ffd4d335000 D:\Java\jdk-17\bin\java.dll
dbghelp: loaded successfully - version: 4.0.5 - missing functions: none
symbol engine: initialized successfully - sym options: 0x614 - pdb path: .;D:\Java\jdk-17\bin;C:\WINDOWS\SYSTEM32;C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.3527_none_270e469b73872a76;D:\Java\jdk-17\bin\server
VM Arguments:
jvm_args: -Dmaven.multiModuleProjectDirectory=D:\work\IotDB -Djansi.passthrough=true -Dmaven.home=D:\maven\apache-maven-3.6.3 -Dclassworlds.conf=D:\maven\apache-maven-3.6.3\bin\m2.conf -Dmaven.ext.class.path=D:\idea2023\IntelliJ IDEA 2023.3.4\plugins\maven\lib\maven-event-listener.jar -Dfile.encoding=UTF-8
java_command: org.codehaus.classworlds.Launcher -Didea.version=2023.3.4 -s D:\maven\apache-maven-3.6.3\conf\settings.xml install
java_class_path (initial): D:\maven\apache-maven-3.6.3\boot\plexus-classworlds-2.6.0.jar;D:\maven\apache-maven-3.6.3\boot\plexus-classworlds.license
Launcher Type: SUN_STANDARD
[Global flags]
intx CICompilerCount = 12 {product} {ergonomic}
uint ConcGCThreads = 4 {product} {ergonomic}
uint G1ConcRefinementThreads = 15 {product} {ergonomic}
size_t G1HeapRegionSize = 2097152 {product} {ergonomic}
uintx GCDrainStackTargetSize = 64 {product} {ergonomic}
size_t InitialHeapSize = 264241152 {product} {ergonomic}
size_t MarkStackSize = 4194304 {product} {ergonomic}
size_t MaxHeapSize = 4223664128 {product} {ergonomic}
size_t MinHeapDeltaBytes = 2097152 {product} {ergonomic}
size_t MinHeapSize = 8388608 {product} {ergonomic}
uintx NonNMethodCodeHeapSize = 7602480 {pd product} {ergonomic}
uintx NonProfiledCodeHeapSize = 122027880 {pd product} {ergonomic}
uintx ProfiledCodeHeapSize = 122027880 {pd product} {ergonomic}
uintx ReservedCodeCacheSize = 251658240 {pd product} {ergonomic}
bool SegmentedCodeCache = true {product} {ergonomic}
size_t SoftMaxHeapSize = 4223664128 {manageable} {ergonomic}
bool UseCompressedClassPointers = true {product lp64_product} {ergonomic}
bool UseCompressedOops = true {product lp64_product} {ergonomic}
bool UseG1GC = true {product} {ergonomic}
bool UseLargePagesIndividualAllocation = false {pd product} {ergonomic}
Logging:
Log output configuration:
#0: stdout all=warning uptime,level,tags
#1: stderr all=off uptime,level,tags
Environment Variables:
JAVA_HOME=D:\java\jdk-17
CLASSPATH=.;D:\java\jdk-17\lib;%JAVA_HOME\lib\tools.jar
PATH=C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\NetSarang;D:\Program Files (x86)\VMware\VMware Workstation\bin\;C:\ProgramData\Oracle\Java\javapath;D:\java\jdk-17\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\MySQL\MySQL Server 5.5\bin;C:\Program Files\dotnet\;D:\maven\apache-maven-3.6.3\bin;C:\Program Files\nodejs\;D:\git\Git\cmd;C:\Users\86157\AppData\Local\Microsoft\WindowsApps;D:\LenovoSoftstore\Install\QQliuxidating\QQGameTempest\Hall.57808\;C:\Users\86157\AppData\Roaming\npm;D:\git\Git\cmd;D:\java\jdk-17\bin;D:\java\jdk-17;D:\bigdata\zookeeper\apache-zookeeper-3.6.4-bin\bin;
USERNAME=86157
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 154 Stepping 3, GenuineIntel
--------------- S Y S T E M ---------------
OS:
Windows 11 , 64 bit Build 22621 (10.0.22621.3527)
OS uptime: 0 days 0:36 hours
CPU: total 20 (initial active 20) (10 cores per cpu, 2 threads per core) family 6 model 154 stepping 3 microcode 0x41b, cx8, cmov, fxsr, ht, mmx, 3dnowpref, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, lzcnt, tsc, tscinvbit, avx, avx2, aes, erms, clmul, bmi1, bmi2, adx, sha, fma, vzeroupper, clflush, clflushopt, clwb
Memory: 4k page, system-wide physical 16109M (905M free)
TotalPageFile size 51272M (AvailPageFile size 231M)
current process WorkingSet (physical memory assigned to process): 11M, peak: 11M
current process commit charge ("private bytes"): 75M, peak: 327M
vm_info: Java HotSpot(TM) 64-Bit Server VM (17.0.10+11-LTS-240) for windows-amd64 JRE (17.0.10+11-LTS-240), built on Dec 19 2023 21:47:25 by "mach5one" with MS VC++ 17.1 (VS2022)
END.

219
hs_err_pid26320.log 100644
View File

@ -0,0 +1,219 @@
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 264241152 bytes for G1 virtual space
# Possible reasons:
# The system is out of physical RAM or swap space
# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# JVM is running with Zero Based Compressed Oops mode in which the Java heap is
# placed in the first 32GB address space. The Java Heap base address is the
# maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
# to set the Java Heap base and to place the Java Heap above 32GB virtual address.
# This output file may be truncated or incomplete.
#
# Out of Memory Error (os_windows.cpp:3548), pid=26320, tid=23580
#
# JRE version: (17.0.10+11) (build )
# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0.10+11-LTS-240, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
--------------- S U M M A R Y ------------
Command Line: -Dmaven.multiModuleProjectDirectory=D:\work\IotDB -Djansi.passthrough=true -Dmaven.home=D:\maven\apache-maven-3.6.3 -Dclassworlds.conf=D:\maven\apache-maven-3.6.3\bin\m2.conf -Dmaven.ext.class.path=D:\idea2023\IntelliJ IDEA 2023.3.4\plugins\maven\lib\maven-event-listener.jar -Dfile.encoding=UTF-8 org.codehaus.classworlds.Launcher -Didea.version=2023.3.4 -s D:\maven\apache-maven-3.6.3\conf\settings.xml install
Host: 12th Gen Intel(R) Core(TM) i9-12900H, 20 cores, 15G, Windows 11 , 64 bit Build 22621 (10.0.22621.3527)
Time: Fri Jun 21 20:30:12 2024 Windows 11 , 64 bit Build 22621 (10.0.22621.3527) elapsed time: 0.008814 seconds (0d 0h 0m 0s)
--------------- T H R E A D ---------------
Current thread (0x000001a718fb09a0): JavaThread "Unknown thread" [_thread_in_vm, id=23580, stack(0x000000157a500000,0x000000157a600000)]
Stack: [0x000000157a500000,0x000000157a600000]
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x677a5a]
V [jvm.dll+0x7d8b2d]
V [jvm.dll+0x7da48e]
V [jvm.dll+0x7daaf3]
V [jvm.dll+0x2455ff]
V [jvm.dll+0x6749b9]
V [jvm.dll+0x669382]
V [jvm.dll+0x302e96]
V [jvm.dll+0x30a416]
V [jvm.dll+0x359cbe]
V [jvm.dll+0x359eef]
V [jvm.dll+0x2d9e88]
V [jvm.dll+0x2dadf4]
V [jvm.dll+0x7aa551]
V [jvm.dll+0x367911]
V [jvm.dll+0x789639]
V [jvm.dll+0x3eb30f]
V [jvm.dll+0x3ecd91]
C [jli.dll+0x5297]
C [ucrtbase.dll+0x29333]
C [KERNEL32.DLL+0x1257d]
C [ntdll.dll+0x5aa48]
--------------- P R O C E S S ---------------
Threads class SMR info:
_java_thread_list=0x00007ffcc2e96a18, length=0, elements={
}
Java Threads: ( => current thread )
Other Threads:
0x000001a71901d3f0 GCTaskThread "GC Thread#0" [stack: 0x000000157a600000,0x000000157a700000] [id=15644]
0x000001a71902ef80 ConcurrentGCThread "G1 Main Marker" [stack: 0x000000157a700000,0x000000157a800000] [id=14644]
0x000001a719032150 ConcurrentGCThread "G1 Conc#0" [stack: 0x000000157a800000,0x000000157a900000] [id=17268]
[error occurred during error reporting (printing all threads), id 0xc0000005, EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffcc26caae7]
VM state: not at safepoint (not fully initialized)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x000001a718fac580] Heap_lock - owner thread: 0x000001a718fb09a0
Heap address: 0x0000000704400000, size: 4028 MB, Compressed Oops mode: Zero based, Oop shift amount: 3
CDS archive(s) mapped at: [0x0000000000000000-0x0000000000000000-0x0000000000000000), size 0, SharedBaseAddress: 0x0000000800000000, ArchiveRelocationMode: 1.
Narrow klass base: 0x0000000000000000, Narrow klass shift: 0, Narrow klass range: 0x0
GC Precious Log:
<Empty>
Heap:
garbage-first heap total 0K, used 0K [0x0000000704400000, 0x0000000800000000)
region size 2048K, 0 young (0K), 0 survivors (0K)
[error occurred during error reporting (printing heap information), id 0xc0000005, EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffcc2ab1249]
GC Heap History (0 events):
No events
Deoptimization events (0 events):
No events
Classes unloaded (0 events):
No events
Classes redefined (0 events):
No events
Internal exceptions (0 events):
No events
VM Operations (0 events):
No events
Events (1 events):
Event: 0.006 Loaded shared library D:\Java\jdk-17\bin\java.dll
Dynamic libraries:
0x00007ff6335e0000 - 0x00007ff6335f0000 D:\Java\jdk-17\bin\java.exe
0x00007ffd62610000 - 0x00007ffd62827000 C:\WINDOWS\SYSTEM32\ntdll.dll
0x00007ffd60750000 - 0x00007ffd60814000 C:\WINDOWS\System32\KERNEL32.DLL
0x00007ffd5f930000 - 0x00007ffd5fcd7000 C:\WINDOWS\System32\KERNELBASE.dll
0x00007ffd5ff90000 - 0x00007ffd600a1000 C:\WINDOWS\System32\ucrtbase.dll
0x00007ffd01d50000 - 0x00007ffd01d6b000 D:\Java\jdk-17\bin\VCRUNTIME140.dll
0x00007ffcd4da0000 - 0x00007ffcd4db9000 D:\Java\jdk-17\bin\jli.dll
0x00007ffd61e40000 - 0x00007ffd61ef2000 C:\WINDOWS\System32\ADVAPI32.dll
0x00007ffd61fb0000 - 0x00007ffd62057000 C:\WINDOWS\System32\msvcrt.dll
0x00007ffd619a0000 - 0x00007ffd61a48000 C:\WINDOWS\System32\sechost.dll
0x00007ffd602a0000 - 0x00007ffd602c8000 C:\WINDOWS\System32\bcrypt.dll
0x00007ffd603c0000 - 0x00007ffd604d5000 C:\WINDOWS\System32\RPCRT4.dll
0x00007ffd60f80000 - 0x00007ffd6112e000 C:\WINDOWS\System32\USER32.dll
0x00007ffd5fec0000 - 0x00007ffd5fee6000 C:\WINDOWS\System32\win32u.dll
0x00007ffd60340000 - 0x00007ffd60369000 C:\WINDOWS\System32\GDI32.dll
0x00007ffd4d420000 - 0x00007ffd4d6b3000 C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.3527_none_270e469b73872a76\COMCTL32.dll
0x00007ffd5fce0000 - 0x00007ffd5fdf9000 C:\WINDOWS\System32\gdi32full.dll
0x00007ffd5fef0000 - 0x00007ffd5ff8a000 C:\WINDOWS\System32\msvcp_win.dll
0x00007ffd3d4f0000 - 0x00007ffd3d4fa000 C:\WINDOWS\SYSTEM32\VERSION.dll
0x00007ffd60540000 - 0x00007ffd60571000 C:\WINDOWS\System32\IMM32.DLL
0x00007ffd3dab0000 - 0x00007ffd3dabc000 D:\Java\jdk-17\bin\vcruntime140_1.dll
0x00007ffd3d7c0000 - 0x00007ffd3d84e000 D:\Java\jdk-17\bin\msvcp140.dll
0x00007ffcc23e0000 - 0x00007ffcc2fbf000 D:\Java\jdk-17\bin\server\jvm.dll
0x00007ffd61d90000 - 0x00007ffd61d98000 C:\WINDOWS\System32\PSAPI.DLL
0x00007ffd0d520000 - 0x00007ffd0d529000 C:\WINDOWS\SYSTEM32\WSOCK32.dll
0x00007ffd54e50000 - 0x00007ffd54e84000 C:\WINDOWS\SYSTEM32\WINMM.dll
0x00007ffd61da0000 - 0x00007ffd61e11000 C:\WINDOWS\System32\WS2_32.dll
0x00007ffd5ea40000 - 0x00007ffd5ea58000 C:\WINDOWS\SYSTEM32\kernel.appcore.dll
0x00007ffd4d340000 - 0x00007ffd4d34a000 D:\Java\jdk-17\bin\jimage.dll
0x00007ffd5cd40000 - 0x00007ffd5cf72000 C:\WINDOWS\SYSTEM32\DBGHELP.DLL
0x00007ffd60b70000 - 0x00007ffd60ef8000 C:\WINDOWS\System32\combase.dll
0x00007ffd624f0000 - 0x00007ffd625c7000 C:\WINDOWS\System32\OLEAUT32.dll
0x00007ffd509c0000 - 0x00007ffd509f2000 C:\WINDOWS\SYSTEM32\dbgcore.DLL
0x00007ffd600b0000 - 0x00007ffd60129000 C:\WINDOWS\System32\bcryptPrimitives.dll
0x00007ffd4d310000 - 0x00007ffd4d335000 D:\Java\jdk-17\bin\java.dll
dbghelp: loaded successfully - version: 4.0.5 - missing functions: none
symbol engine: initialized successfully - sym options: 0x614 - pdb path: .;D:\Java\jdk-17\bin;C:\WINDOWS\SYSTEM32;C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.3527_none_270e469b73872a76;D:\Java\jdk-17\bin\server
VM Arguments:
jvm_args: -Dmaven.multiModuleProjectDirectory=D:\work\IotDB -Djansi.passthrough=true -Dmaven.home=D:\maven\apache-maven-3.6.3 -Dclassworlds.conf=D:\maven\apache-maven-3.6.3\bin\m2.conf -Dmaven.ext.class.path=D:\idea2023\IntelliJ IDEA 2023.3.4\plugins\maven\lib\maven-event-listener.jar -Dfile.encoding=UTF-8
java_command: org.codehaus.classworlds.Launcher -Didea.version=2023.3.4 -s D:\maven\apache-maven-3.6.3\conf\settings.xml install
java_class_path (initial): D:\maven\apache-maven-3.6.3\boot\plexus-classworlds-2.6.0.jar;D:\maven\apache-maven-3.6.3\boot\plexus-classworlds.license
Launcher Type: SUN_STANDARD
[Global flags]
intx CICompilerCount = 12 {product} {ergonomic}
uint ConcGCThreads = 4 {product} {ergonomic}
uint G1ConcRefinementThreads = 15 {product} {ergonomic}
size_t G1HeapRegionSize = 2097152 {product} {ergonomic}
uintx GCDrainStackTargetSize = 64 {product} {ergonomic}
size_t InitialHeapSize = 264241152 {product} {ergonomic}
size_t MarkStackSize = 4194304 {product} {ergonomic}
size_t MaxHeapSize = 4223664128 {product} {ergonomic}
size_t MinHeapDeltaBytes = 2097152 {product} {ergonomic}
size_t MinHeapSize = 8388608 {product} {ergonomic}
uintx NonNMethodCodeHeapSize = 7602480 {pd product} {ergonomic}
uintx NonProfiledCodeHeapSize = 122027880 {pd product} {ergonomic}
uintx ProfiledCodeHeapSize = 122027880 {pd product} {ergonomic}
uintx ReservedCodeCacheSize = 251658240 {pd product} {ergonomic}
bool SegmentedCodeCache = true {product} {ergonomic}
size_t SoftMaxHeapSize = 4223664128 {manageable} {ergonomic}
bool UseCompressedClassPointers = true {product lp64_product} {ergonomic}
bool UseCompressedOops = true {product lp64_product} {ergonomic}
bool UseG1GC = true {product} {ergonomic}
bool UseLargePagesIndividualAllocation = false {pd product} {ergonomic}
Logging:
Log output configuration:
#0: stdout all=warning uptime,level,tags
#1: stderr all=off uptime,level,tags
Environment Variables:
JAVA_HOME=D:\java\jdk-17
CLASSPATH=.;D:\java\jdk-17\lib;%JAVA_HOME\lib\tools.jar
PATH=C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\NetSarang;D:\Program Files (x86)\VMware\VMware Workstation\bin\;C:\ProgramData\Oracle\Java\javapath;D:\java\jdk-17\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\MySQL\MySQL Server 5.5\bin;C:\Program Files\dotnet\;D:\maven\apache-maven-3.6.3\bin;C:\Program Files\nodejs\;D:\git\Git\cmd;C:\Users\86157\AppData\Local\Microsoft\WindowsApps;D:\LenovoSoftstore\Install\QQliuxidating\QQGameTempest\Hall.57808\;C:\Users\86157\AppData\Roaming\npm;D:\git\Git\cmd;D:\java\jdk-17\bin;D:\java\jdk-17;D:\bigdata\zookeeper\apache-zookeeper-3.6.4-bin\bin;
USERNAME=86157
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 154 Stepping 3, GenuineIntel
--------------- S Y S T E M ---------------
OS:
Windows 11 , 64 bit Build 22621 (10.0.22621.3527)
OS uptime: 0 days 0:36 hours
CPU: total 20 (initial active 20) (10 cores per cpu, 2 threads per core) family 6 model 154 stepping 3 microcode 0x41b, cx8, cmov, fxsr, ht, mmx, 3dnowpref, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, lzcnt, tsc, tscinvbit, avx, avx2, aes, erms, clmul, bmi1, bmi2, adx, sha, fma, vzeroupper, clflush, clflushopt, clwb
Memory: 4k page, system-wide physical 16109M (932M free)
TotalPageFile size 51272M (AvailPageFile size 179M)
current process WorkingSet (physical memory assigned to process): 11M, peak: 11M
current process commit charge ("private bytes"): 75M, peak: 327M
vm_info: Java HotSpot(TM) 64-Bit Server VM (17.0.10+11-LTS-240) for windows-amd64 JRE (17.0.10+11-LTS-240), built on Dec 19 2023 21:47:25 by "mach5one" with MS VC++ 17.1 (VS2022)
END.

219
hs_err_pid2800.log 100644
View File

@ -0,0 +1,219 @@
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 264241152 bytes for G1 virtual space
# Possible reasons:
# The system is out of physical RAM or swap space
# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# JVM is running with Zero Based Compressed Oops mode in which the Java heap is
# placed in the first 32GB address space. The Java Heap base address is the
# maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
# to set the Java Heap base and to place the Java Heap above 32GB virtual address.
# This output file may be truncated or incomplete.
#
# Out of Memory Error (os_windows.cpp:3548), pid=2800, tid=452
#
# JRE version: (17.0.10+11) (build )
# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0.10+11-LTS-240, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
--------------- S U M M A R Y ------------
Command Line: -Dmaven.multiModuleProjectDirectory=D:\work\IotDB -Djansi.passthrough=true -Dmaven.home=D:\maven\apache-maven-3.6.3 -Dclassworlds.conf=D:\maven\apache-maven-3.6.3\bin\m2.conf -Dmaven.ext.class.path=D:\idea2023\IntelliJ IDEA 2023.3.4\plugins\maven\lib\maven-event-listener.jar -Dfile.encoding=UTF-8 org.codehaus.classworlds.Launcher -Didea.version=2023.3.4 -s D:\maven\apache-maven-3.6.3\conf\settings.xml install
Host: 12th Gen Intel(R) Core(TM) i9-12900H, 20 cores, 15G, Windows 11 , 64 bit Build 22621 (10.0.22621.3527)
Time: Fri Jun 21 20:30:17 2024 Windows 11 , 64 bit Build 22621 (10.0.22621.3527) elapsed time: 0.008468 seconds (0d 0h 0m 0s)
--------------- T H R E A D ---------------
Current thread (0x000001ff24e43530): JavaThread "Unknown thread" [_thread_in_vm, id=452, stack(0x000000790d200000,0x000000790d300000)]
Stack: [0x000000790d200000,0x000000790d300000]
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x677a5a]
V [jvm.dll+0x7d8b2d]
V [jvm.dll+0x7da48e]
V [jvm.dll+0x7daaf3]
V [jvm.dll+0x2455ff]
V [jvm.dll+0x6749b9]
V [jvm.dll+0x669382]
V [jvm.dll+0x302e96]
V [jvm.dll+0x30a416]
V [jvm.dll+0x359cbe]
V [jvm.dll+0x359eef]
V [jvm.dll+0x2d9e88]
V [jvm.dll+0x2dadf4]
V [jvm.dll+0x7aa551]
V [jvm.dll+0x367911]
V [jvm.dll+0x789639]
V [jvm.dll+0x3eb30f]
V [jvm.dll+0x3ecd91]
C [jli.dll+0x5297]
C [ucrtbase.dll+0x29333]
C [KERNEL32.DLL+0x1257d]
C [ntdll.dll+0x5aa48]
--------------- P R O C E S S ---------------
Threads class SMR info:
_java_thread_list=0x00007ffcc2e96a18, length=0, elements={
}
Java Threads: ( => current thread )
Other Threads:
0x000001ff24eafd20 GCTaskThread "GC Thread#0" [stack: 0x000000790d300000,0x000000790d400000] [id=24804]
0x000001ff24ec1740 ConcurrentGCThread "G1 Main Marker" [stack: 0x000000790d400000,0x000000790d500000] [id=25960]
0x000001ff24ec3060 ConcurrentGCThread "G1 Conc#0" [stack: 0x000000790d500000,0x000000790d600000] [id=11172]
[error occurred during error reporting (printing all threads), id 0xc0000005, EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffcc26caae7]
VM state: not at safepoint (not fully initialized)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x000001ff24e3e750] Heap_lock - owner thread: 0x000001ff24e43530
Heap address: 0x0000000704400000, size: 4028 MB, Compressed Oops mode: Zero based, Oop shift amount: 3
CDS archive(s) mapped at: [0x0000000000000000-0x0000000000000000-0x0000000000000000), size 0, SharedBaseAddress: 0x0000000800000000, ArchiveRelocationMode: 1.
Narrow klass base: 0x0000000000000000, Narrow klass shift: 0, Narrow klass range: 0x0
GC Precious Log:
<Empty>
Heap:
garbage-first heap total 0K, used 0K [0x0000000704400000, 0x0000000800000000)
region size 2048K, 0 young (0K), 0 survivors (0K)
[error occurred during error reporting (printing heap information), id 0xc0000005, EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffcc2ab1249]
GC Heap History (0 events):
No events
Deoptimization events (0 events):
No events
Classes unloaded (0 events):
No events
Classes redefined (0 events):
No events
Internal exceptions (0 events):
No events
VM Operations (0 events):
No events
Events (1 events):
Event: 0.006 Loaded shared library D:\Java\jdk-17\bin\java.dll
Dynamic libraries:
0x00007ff6335e0000 - 0x00007ff6335f0000 D:\Java\jdk-17\bin\java.exe
0x00007ffd62610000 - 0x00007ffd62827000 C:\WINDOWS\SYSTEM32\ntdll.dll
0x00007ffd60750000 - 0x00007ffd60814000 C:\WINDOWS\System32\KERNEL32.DLL
0x00007ffd5f930000 - 0x00007ffd5fcd7000 C:\WINDOWS\System32\KERNELBASE.dll
0x00007ffd5ff90000 - 0x00007ffd600a1000 C:\WINDOWS\System32\ucrtbase.dll
0x00007ffd01d50000 - 0x00007ffd01d6b000 D:\Java\jdk-17\bin\VCRUNTIME140.dll
0x00007ffcd4da0000 - 0x00007ffcd4db9000 D:\Java\jdk-17\bin\jli.dll
0x00007ffd61e40000 - 0x00007ffd61ef2000 C:\WINDOWS\System32\ADVAPI32.dll
0x00007ffd61fb0000 - 0x00007ffd62057000 C:\WINDOWS\System32\msvcrt.dll
0x00007ffd619a0000 - 0x00007ffd61a48000 C:\WINDOWS\System32\sechost.dll
0x00007ffd602a0000 - 0x00007ffd602c8000 C:\WINDOWS\System32\bcrypt.dll
0x00007ffd603c0000 - 0x00007ffd604d5000 C:\WINDOWS\System32\RPCRT4.dll
0x00007ffd60f80000 - 0x00007ffd6112e000 C:\WINDOWS\System32\USER32.dll
0x00007ffd5fec0000 - 0x00007ffd5fee6000 C:\WINDOWS\System32\win32u.dll
0x00007ffd60340000 - 0x00007ffd60369000 C:\WINDOWS\System32\GDI32.dll
0x00007ffd5fce0000 - 0x00007ffd5fdf9000 C:\WINDOWS\System32\gdi32full.dll
0x00007ffd5fef0000 - 0x00007ffd5ff8a000 C:\WINDOWS\System32\msvcp_win.dll
0x00007ffd4d420000 - 0x00007ffd4d6b3000 C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.3527_none_270e469b73872a76\COMCTL32.dll
0x00007ffd3d4f0000 - 0x00007ffd3d4fa000 C:\WINDOWS\SYSTEM32\VERSION.dll
0x00007ffd60540000 - 0x00007ffd60571000 C:\WINDOWS\System32\IMM32.DLL
0x00007ffd3dab0000 - 0x00007ffd3dabc000 D:\Java\jdk-17\bin\vcruntime140_1.dll
0x00007ffd3d7c0000 - 0x00007ffd3d84e000 D:\Java\jdk-17\bin\msvcp140.dll
0x00007ffcc23e0000 - 0x00007ffcc2fbf000 D:\Java\jdk-17\bin\server\jvm.dll
0x00007ffd61d90000 - 0x00007ffd61d98000 C:\WINDOWS\System32\PSAPI.DLL
0x00007ffd54e50000 - 0x00007ffd54e84000 C:\WINDOWS\SYSTEM32\WINMM.dll
0x00007ffd0d520000 - 0x00007ffd0d529000 C:\WINDOWS\SYSTEM32\WSOCK32.dll
0x00007ffd61da0000 - 0x00007ffd61e11000 C:\WINDOWS\System32\WS2_32.dll
0x00007ffd5ea40000 - 0x00007ffd5ea58000 C:\WINDOWS\SYSTEM32\kernel.appcore.dll
0x00007ffd4d340000 - 0x00007ffd4d34a000 D:\Java\jdk-17\bin\jimage.dll
0x00007ffd5cd40000 - 0x00007ffd5cf72000 C:\WINDOWS\SYSTEM32\DBGHELP.DLL
0x00007ffd60b70000 - 0x00007ffd60ef8000 C:\WINDOWS\System32\combase.dll
0x00007ffd624f0000 - 0x00007ffd625c7000 C:\WINDOWS\System32\OLEAUT32.dll
0x00007ffd509c0000 - 0x00007ffd509f2000 C:\WINDOWS\SYSTEM32\dbgcore.DLL
0x00007ffd600b0000 - 0x00007ffd60129000 C:\WINDOWS\System32\bcryptPrimitives.dll
0x00007ffd4d310000 - 0x00007ffd4d335000 D:\Java\jdk-17\bin\java.dll
dbghelp: loaded successfully - version: 4.0.5 - missing functions: none
symbol engine: initialized successfully - sym options: 0x614 - pdb path: .;D:\Java\jdk-17\bin;C:\WINDOWS\SYSTEM32;C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.3527_none_270e469b73872a76;D:\Java\jdk-17\bin\server
VM Arguments:
jvm_args: -Dmaven.multiModuleProjectDirectory=D:\work\IotDB -Djansi.passthrough=true -Dmaven.home=D:\maven\apache-maven-3.6.3 -Dclassworlds.conf=D:\maven\apache-maven-3.6.3\bin\m2.conf -Dmaven.ext.class.path=D:\idea2023\IntelliJ IDEA 2023.3.4\plugins\maven\lib\maven-event-listener.jar -Dfile.encoding=UTF-8
java_command: org.codehaus.classworlds.Launcher -Didea.version=2023.3.4 -s D:\maven\apache-maven-3.6.3\conf\settings.xml install
java_class_path (initial): D:\maven\apache-maven-3.6.3\boot\plexus-classworlds-2.6.0.jar;D:\maven\apache-maven-3.6.3\boot\plexus-classworlds.license
Launcher Type: SUN_STANDARD
[Global flags]
intx CICompilerCount = 12 {product} {ergonomic}
uint ConcGCThreads = 4 {product} {ergonomic}
uint G1ConcRefinementThreads = 15 {product} {ergonomic}
size_t G1HeapRegionSize = 2097152 {product} {ergonomic}
uintx GCDrainStackTargetSize = 64 {product} {ergonomic}
size_t InitialHeapSize = 264241152 {product} {ergonomic}
size_t MarkStackSize = 4194304 {product} {ergonomic}
size_t MaxHeapSize = 4223664128 {product} {ergonomic}
size_t MinHeapDeltaBytes = 2097152 {product} {ergonomic}
size_t MinHeapSize = 8388608 {product} {ergonomic}
uintx NonNMethodCodeHeapSize = 7602480 {pd product} {ergonomic}
uintx NonProfiledCodeHeapSize = 122027880 {pd product} {ergonomic}
uintx ProfiledCodeHeapSize = 122027880 {pd product} {ergonomic}
uintx ReservedCodeCacheSize = 251658240 {pd product} {ergonomic}
bool SegmentedCodeCache = true {product} {ergonomic}
size_t SoftMaxHeapSize = 4223664128 {manageable} {ergonomic}
bool UseCompressedClassPointers = true {product lp64_product} {ergonomic}
bool UseCompressedOops = true {product lp64_product} {ergonomic}
bool UseG1GC = true {product} {ergonomic}
bool UseLargePagesIndividualAllocation = false {pd product} {ergonomic}
Logging:
Log output configuration:
#0: stdout all=warning uptime,level,tags
#1: stderr all=off uptime,level,tags
Environment Variables:
JAVA_HOME=D:\java\jdk-17
CLASSPATH=.;D:\java\jdk-17\lib;%JAVA_HOME\lib\tools.jar
PATH=C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\NetSarang;D:\Program Files (x86)\VMware\VMware Workstation\bin\;C:\ProgramData\Oracle\Java\javapath;D:\java\jdk-17\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\MySQL\MySQL Server 5.5\bin;C:\Program Files\dotnet\;D:\maven\apache-maven-3.6.3\bin;C:\Program Files\nodejs\;D:\git\Git\cmd;C:\Users\86157\AppData\Local\Microsoft\WindowsApps;D:\LenovoSoftstore\Install\QQliuxidating\QQGameTempest\Hall.57808\;C:\Users\86157\AppData\Roaming\npm;D:\git\Git\cmd;D:\java\jdk-17\bin;D:\java\jdk-17;D:\bigdata\zookeeper\apache-zookeeper-3.6.4-bin\bin;
USERNAME=86157
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 154 Stepping 3, GenuineIntel
--------------- S Y S T E M ---------------
OS:
Windows 11 , 64 bit Build 22621 (10.0.22621.3527)
OS uptime: 0 days 0:36 hours
CPU: total 20 (initial active 20) (10 cores per cpu, 2 threads per core) family 6 model 154 stepping 3 microcode 0x41b, cx8, cmov, fxsr, ht, mmx, 3dnowpref, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, lzcnt, tsc, tscinvbit, avx, avx2, aes, erms, clmul, bmi1, bmi2, adx, sha, fma, vzeroupper, clflush, clflushopt, clwb
Memory: 4k page, system-wide physical 16109M (905M free)
TotalPageFile size 51272M (AvailPageFile size 237M)
current process WorkingSet (physical memory assigned to process): 11M, peak: 11M
current process commit charge ("private bytes"): 75M, peak: 327M
vm_info: Java HotSpot(TM) 64-Bit Server VM (17.0.10+11-LTS-240) for windows-amd64 JRE (17.0.10+11-LTS-240), built on Dec 19 2023 21:47:25 by "mach5one" with MS VC++ 17.1 (VS2022)
END.

219
hs_err_pid4936.log 100644
View File

@ -0,0 +1,219 @@
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 264241152 bytes for G1 virtual space
# Possible reasons:
# The system is out of physical RAM or swap space
# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# JVM is running with Zero Based Compressed Oops mode in which the Java heap is
# placed in the first 32GB address space. The Java Heap base address is the
# maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
# to set the Java Heap base and to place the Java Heap above 32GB virtual address.
# This output file may be truncated or incomplete.
#
# Out of Memory Error (os_windows.cpp:3548), pid=4936, tid=8692
#
# JRE version: (17.0.10+11) (build )
# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0.10+11-LTS-240, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
--------------- S U M M A R Y ------------
Command Line: -Dmaven.multiModuleProjectDirectory=D:\work\IotDB -Djansi.passthrough=true -Dmaven.home=D:\maven\apache-maven-3.6.3 -Dclassworlds.conf=D:\maven\apache-maven-3.6.3\bin\m2.conf -Dmaven.ext.class.path=D:\idea2023\IntelliJ IDEA 2023.3.4\plugins\maven\lib\maven-event-listener.jar -Dfile.encoding=UTF-8 org.codehaus.classworlds.Launcher -Didea.version=2023.3.4 -s D:\maven\apache-maven-3.6.3\conf\settings.xml install
Host: 12th Gen Intel(R) Core(TM) i9-12900H, 20 cores, 15G, Windows 11 , 64 bit Build 22621 (10.0.22621.3527)
Time: Fri Jun 21 20:30:14 2024 Windows 11 , 64 bit Build 22621 (10.0.22621.3527) elapsed time: 0.008238 seconds (0d 0h 0m 0s)
--------------- T H R E A D ---------------
Current thread (0x0000019fcc2c15a0): JavaThread "Unknown thread" [_thread_in_vm, id=8692, stack(0x0000004b6cd00000,0x0000004b6ce00000)]
Stack: [0x0000004b6cd00000,0x0000004b6ce00000]
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x677a5a]
V [jvm.dll+0x7d8b2d]
V [jvm.dll+0x7da48e]
V [jvm.dll+0x7daaf3]
V [jvm.dll+0x2455ff]
V [jvm.dll+0x6749b9]
V [jvm.dll+0x669382]
V [jvm.dll+0x302e96]
V [jvm.dll+0x30a416]
V [jvm.dll+0x359cbe]
V [jvm.dll+0x359eef]
V [jvm.dll+0x2d9e88]
V [jvm.dll+0x2dadf4]
V [jvm.dll+0x7aa551]
V [jvm.dll+0x367911]
V [jvm.dll+0x789639]
V [jvm.dll+0x3eb30f]
V [jvm.dll+0x3ecd91]
C [jli.dll+0x5297]
C [ucrtbase.dll+0x29333]
C [KERNEL32.DLL+0x1257d]
C [ntdll.dll+0x5aa48]
--------------- P R O C E S S ---------------
Threads class SMR info:
_java_thread_list=0x00007ffcc2e96a18, length=0, elements={
}
Java Threads: ( => current thread )
Other Threads:
0x0000019fcc32d100 GCTaskThread "GC Thread#0" [stack: 0x0000004b6ce00000,0x0000004b6cf00000] [id=2848]
0x0000019fcc33ec20 ConcurrentGCThread "G1 Main Marker" [stack: 0x0000004b6cf00000,0x0000004b6d000000] [id=8512]
0x0000019fcc341650 ConcurrentGCThread "G1 Conc#0" [stack: 0x0000004b6d000000,0x0000004b6d100000] [id=24536]
[error occurred during error reporting (printing all threads), id 0xc0000005, EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffcc26caae7]
VM state: not at safepoint (not fully initialized)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x0000019fcc2bc0a0] Heap_lock - owner thread: 0x0000019fcc2c15a0
Heap address: 0x0000000704400000, size: 4028 MB, Compressed Oops mode: Zero based, Oop shift amount: 3
CDS archive(s) mapped at: [0x0000000000000000-0x0000000000000000-0x0000000000000000), size 0, SharedBaseAddress: 0x0000000800000000, ArchiveRelocationMode: 1.
Narrow klass base: 0x0000000000000000, Narrow klass shift: 0, Narrow klass range: 0x0
GC Precious Log:
<Empty>
Heap:
garbage-first heap total 0K, used 0K [0x0000000704400000, 0x0000000800000000)
region size 2048K, 0 young (0K), 0 survivors (0K)
[error occurred during error reporting (printing heap information), id 0xc0000005, EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffcc2ab1249]
GC Heap History (0 events):
No events
Deoptimization events (0 events):
No events
Classes unloaded (0 events):
No events
Classes redefined (0 events):
No events
Internal exceptions (0 events):
No events
VM Operations (0 events):
No events
Events (1 events):
Event: 0.006 Loaded shared library D:\Java\jdk-17\bin\java.dll
Dynamic libraries:
0x00007ff6335e0000 - 0x00007ff6335f0000 D:\Java\jdk-17\bin\java.exe
0x00007ffd62610000 - 0x00007ffd62827000 C:\WINDOWS\SYSTEM32\ntdll.dll
0x00007ffd60750000 - 0x00007ffd60814000 C:\WINDOWS\System32\KERNEL32.DLL
0x00007ffd5f930000 - 0x00007ffd5fcd7000 C:\WINDOWS\System32\KERNELBASE.dll
0x00007ffd5ff90000 - 0x00007ffd600a1000 C:\WINDOWS\System32\ucrtbase.dll
0x00007ffcd4da0000 - 0x00007ffcd4db9000 D:\Java\jdk-17\bin\jli.dll
0x00007ffd61e40000 - 0x00007ffd61ef2000 C:\WINDOWS\System32\ADVAPI32.dll
0x00007ffd01d50000 - 0x00007ffd01d6b000 D:\Java\jdk-17\bin\VCRUNTIME140.dll
0x00007ffd61fb0000 - 0x00007ffd62057000 C:\WINDOWS\System32\msvcrt.dll
0x00007ffd619a0000 - 0x00007ffd61a48000 C:\WINDOWS\System32\sechost.dll
0x00007ffd602a0000 - 0x00007ffd602c8000 C:\WINDOWS\System32\bcrypt.dll
0x00007ffd603c0000 - 0x00007ffd604d5000 C:\WINDOWS\System32\RPCRT4.dll
0x00007ffd60f80000 - 0x00007ffd6112e000 C:\WINDOWS\System32\USER32.dll
0x00007ffd5fec0000 - 0x00007ffd5fee6000 C:\WINDOWS\System32\win32u.dll
0x00007ffd60340000 - 0x00007ffd60369000 C:\WINDOWS\System32\GDI32.dll
0x00007ffd5fce0000 - 0x00007ffd5fdf9000 C:\WINDOWS\System32\gdi32full.dll
0x00007ffd4d420000 - 0x00007ffd4d6b3000 C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.3527_none_270e469b73872a76\COMCTL32.dll
0x00007ffd5fef0000 - 0x00007ffd5ff8a000 C:\WINDOWS\System32\msvcp_win.dll
0x00007ffd3d4f0000 - 0x00007ffd3d4fa000 C:\WINDOWS\SYSTEM32\VERSION.dll
0x00007ffd60540000 - 0x00007ffd60571000 C:\WINDOWS\System32\IMM32.DLL
0x00007ffd3dab0000 - 0x00007ffd3dabc000 D:\Java\jdk-17\bin\vcruntime140_1.dll
0x00007ffd3d7c0000 - 0x00007ffd3d84e000 D:\Java\jdk-17\bin\msvcp140.dll
0x00007ffcc23e0000 - 0x00007ffcc2fbf000 D:\Java\jdk-17\bin\server\jvm.dll
0x00007ffd61d90000 - 0x00007ffd61d98000 C:\WINDOWS\System32\PSAPI.DLL
0x00007ffd0d520000 - 0x00007ffd0d529000 C:\WINDOWS\SYSTEM32\WSOCK32.dll
0x00007ffd54e50000 - 0x00007ffd54e84000 C:\WINDOWS\SYSTEM32\WINMM.dll
0x00007ffd61da0000 - 0x00007ffd61e11000 C:\WINDOWS\System32\WS2_32.dll
0x00007ffd5ea40000 - 0x00007ffd5ea58000 C:\WINDOWS\SYSTEM32\kernel.appcore.dll
0x00007ffd4d340000 - 0x00007ffd4d34a000 D:\Java\jdk-17\bin\jimage.dll
0x00007ffd5cd40000 - 0x00007ffd5cf72000 C:\WINDOWS\SYSTEM32\DBGHELP.DLL
0x00007ffd60b70000 - 0x00007ffd60ef8000 C:\WINDOWS\System32\combase.dll
0x00007ffd624f0000 - 0x00007ffd625c7000 C:\WINDOWS\System32\OLEAUT32.dll
0x00007ffd509c0000 - 0x00007ffd509f2000 C:\WINDOWS\SYSTEM32\dbgcore.DLL
0x00007ffd600b0000 - 0x00007ffd60129000 C:\WINDOWS\System32\bcryptPrimitives.dll
0x00007ffd4d310000 - 0x00007ffd4d335000 D:\Java\jdk-17\bin\java.dll
dbghelp: loaded successfully - version: 4.0.5 - missing functions: none
symbol engine: initialized successfully - sym options: 0x614 - pdb path: .;D:\Java\jdk-17\bin;C:\WINDOWS\SYSTEM32;C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.3527_none_270e469b73872a76;D:\Java\jdk-17\bin\server
VM Arguments:
jvm_args: -Dmaven.multiModuleProjectDirectory=D:\work\IotDB -Djansi.passthrough=true -Dmaven.home=D:\maven\apache-maven-3.6.3 -Dclassworlds.conf=D:\maven\apache-maven-3.6.3\bin\m2.conf -Dmaven.ext.class.path=D:\idea2023\IntelliJ IDEA 2023.3.4\plugins\maven\lib\maven-event-listener.jar -Dfile.encoding=UTF-8
java_command: org.codehaus.classworlds.Launcher -Didea.version=2023.3.4 -s D:\maven\apache-maven-3.6.3\conf\settings.xml install
java_class_path (initial): D:\maven\apache-maven-3.6.3\boot\plexus-classworlds-2.6.0.jar;D:\maven\apache-maven-3.6.3\boot\plexus-classworlds.license
Launcher Type: SUN_STANDARD
[Global flags]
intx CICompilerCount = 12 {product} {ergonomic}
uint ConcGCThreads = 4 {product} {ergonomic}
uint G1ConcRefinementThreads = 15 {product} {ergonomic}
size_t G1HeapRegionSize = 2097152 {product} {ergonomic}
uintx GCDrainStackTargetSize = 64 {product} {ergonomic}
size_t InitialHeapSize = 264241152 {product} {ergonomic}
size_t MarkStackSize = 4194304 {product} {ergonomic}
size_t MaxHeapSize = 4223664128 {product} {ergonomic}
size_t MinHeapDeltaBytes = 2097152 {product} {ergonomic}
size_t MinHeapSize = 8388608 {product} {ergonomic}
uintx NonNMethodCodeHeapSize = 7602480 {pd product} {ergonomic}
uintx NonProfiledCodeHeapSize = 122027880 {pd product} {ergonomic}
uintx ProfiledCodeHeapSize = 122027880 {pd product} {ergonomic}
uintx ReservedCodeCacheSize = 251658240 {pd product} {ergonomic}
bool SegmentedCodeCache = true {product} {ergonomic}
size_t SoftMaxHeapSize = 4223664128 {manageable} {ergonomic}
bool UseCompressedClassPointers = true {product lp64_product} {ergonomic}
bool UseCompressedOops = true {product lp64_product} {ergonomic}
bool UseG1GC = true {product} {ergonomic}
bool UseLargePagesIndividualAllocation = false {pd product} {ergonomic}
Logging:
Log output configuration:
#0: stdout all=warning uptime,level,tags
#1: stderr all=off uptime,level,tags
Environment Variables:
JAVA_HOME=D:\java\jdk-17
CLASSPATH=.;D:\java\jdk-17\lib;%JAVA_HOME\lib\tools.jar
PATH=C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\NetSarang;D:\Program Files (x86)\VMware\VMware Workstation\bin\;C:\ProgramData\Oracle\Java\javapath;D:\java\jdk-17\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\MySQL\MySQL Server 5.5\bin;C:\Program Files\dotnet\;D:\maven\apache-maven-3.6.3\bin;C:\Program Files\nodejs\;D:\git\Git\cmd;C:\Users\86157\AppData\Local\Microsoft\WindowsApps;D:\LenovoSoftstore\Install\QQliuxidating\QQGameTempest\Hall.57808\;C:\Users\86157\AppData\Roaming\npm;D:\git\Git\cmd;D:\java\jdk-17\bin;D:\java\jdk-17;D:\bigdata\zookeeper\apache-zookeeper-3.6.4-bin\bin;
USERNAME=86157
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 154 Stepping 3, GenuineIntel
--------------- S Y S T E M ---------------
OS:
Windows 11 , 64 bit Build 22621 (10.0.22621.3527)
OS uptime: 0 days 0:36 hours
CPU: total 20 (initial active 20) (10 cores per cpu, 2 threads per core) family 6 model 154 stepping 3 microcode 0x41b, cx8, cmov, fxsr, ht, mmx, 3dnowpref, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, lzcnt, tsc, tscinvbit, avx, avx2, aes, erms, clmul, bmi1, bmi2, adx, sha, fma, vzeroupper, clflush, clflushopt, clwb
Memory: 4k page, system-wide physical 16109M (919M free)
TotalPageFile size 51272M (AvailPageFile size 231M)
current process WorkingSet (physical memory assigned to process): 11M, peak: 11M
current process commit charge ("private bytes"): 75M, peak: 327M
vm_info: Java HotSpot(TM) 64-Bit Server VM (17.0.10+11-LTS-240) for windows-amd64 JRE (17.0.10+11-LTS-240), built on Dec 19 2023 21:47:25 by "mach5one" with MS VC++ 17.1 (VS2022)
END.

219
hs_err_pid928.log 100644
View File

@ -0,0 +1,219 @@
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 264241152 bytes for G1 virtual space
# Possible reasons:
# The system is out of physical RAM or swap space
# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# JVM is running with Zero Based Compressed Oops mode in which the Java heap is
# placed in the first 32GB address space. The Java Heap base address is the
# maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
# to set the Java Heap base and to place the Java Heap above 32GB virtual address.
# This output file may be truncated or incomplete.
#
# Out of Memory Error (os_windows.cpp:3548), pid=928, tid=25500
#
# JRE version: (17.0.10+11) (build )
# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0.10+11-LTS-240, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
--------------- S U M M A R Y ------------
Command Line: -Dmaven.multiModuleProjectDirectory=D:\work\IotDB -Djansi.passthrough=true -Dmaven.home=D:\maven\apache-maven-3.6.3 -Dclassworlds.conf=D:\maven\apache-maven-3.6.3\bin\m2.conf -Dmaven.ext.class.path=D:\idea2023\IntelliJ IDEA 2023.3.4\plugins\maven\lib\maven-event-listener.jar -Dfile.encoding=UTF-8 org.codehaus.classworlds.Launcher -Didea.version=2023.3.4 -s D:\maven\apache-maven-3.6.3\conf\settings.xml install
Host: 12th Gen Intel(R) Core(TM) i9-12900H, 20 cores, 15G, Windows 11 , 64 bit Build 22621 (10.0.22621.3527)
Time: Fri Jun 21 20:30:31 2024 Windows 11 , 64 bit Build 22621 (10.0.22621.3527) elapsed time: 0.008429 seconds (0d 0h 0m 0s)
--------------- T H R E A D ---------------
Current thread (0x0000027eb21e3050): JavaThread "Unknown thread" [_thread_in_vm, id=25500, stack(0x000000f6c6a00000,0x000000f6c6b00000)]
Stack: [0x000000f6c6a00000,0x000000f6c6b00000]
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x677a5a]
V [jvm.dll+0x7d8b2d]
V [jvm.dll+0x7da48e]
V [jvm.dll+0x7daaf3]
V [jvm.dll+0x2455ff]
V [jvm.dll+0x6749b9]
V [jvm.dll+0x669382]
V [jvm.dll+0x302e96]
V [jvm.dll+0x30a416]
V [jvm.dll+0x359cbe]
V [jvm.dll+0x359eef]
V [jvm.dll+0x2d9e88]
V [jvm.dll+0x2dadf4]
V [jvm.dll+0x7aa551]
V [jvm.dll+0x367911]
V [jvm.dll+0x789639]
V [jvm.dll+0x3eb30f]
V [jvm.dll+0x3ecd91]
C [jli.dll+0x5297]
C [ucrtbase.dll+0x29333]
C [KERNEL32.DLL+0x1257d]
C [ntdll.dll+0x5aa48]
--------------- P R O C E S S ---------------
Threads class SMR info:
_java_thread_list=0x00007ffcc2e96a18, length=0, elements={
}
Java Threads: ( => current thread )
Other Threads:
0x0000027eb22557d0 GCTaskThread "GC Thread#0" [stack: 0x000000f6c6b00000,0x000000f6c6c00000] [id=26444]
0x0000027eb22672f0 ConcurrentGCThread "G1 Main Marker" [stack: 0x000000f6c6c00000,0x000000f6c6d00000] [id=21616]
0x0000027eb22694b0 ConcurrentGCThread "G1 Conc#0" [stack: 0x000000f6c6d00000,0x000000f6c6e00000] [id=8296]
[error occurred during error reporting (printing all threads), id 0xc0000005, EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffcc26caae7]
VM state: not at safepoint (not fully initialized)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x0000027eb21dd9d0] Heap_lock - owner thread: 0x0000027eb21e3050
Heap address: 0x0000000704400000, size: 4028 MB, Compressed Oops mode: Zero based, Oop shift amount: 3
CDS archive(s) mapped at: [0x0000000000000000-0x0000000000000000-0x0000000000000000), size 0, SharedBaseAddress: 0x0000000800000000, ArchiveRelocationMode: 1.
Narrow klass base: 0x0000000000000000, Narrow klass shift: 0, Narrow klass range: 0x0
GC Precious Log:
<Empty>
Heap:
garbage-first heap total 0K, used 0K [0x0000000704400000, 0x0000000800000000)
region size 2048K, 0 young (0K), 0 survivors (0K)
[error occurred during error reporting (printing heap information), id 0xc0000005, EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffcc2ab1249]
GC Heap History (0 events):
No events
Deoptimization events (0 events):
No events
Classes unloaded (0 events):
No events
Classes redefined (0 events):
No events
Internal exceptions (0 events):
No events
VM Operations (0 events):
No events
Events (1 events):
Event: 0.006 Loaded shared library D:\Java\jdk-17\bin\java.dll
Dynamic libraries:
0x00007ff6335e0000 - 0x00007ff6335f0000 D:\Java\jdk-17\bin\java.exe
0x00007ffd62610000 - 0x00007ffd62827000 C:\WINDOWS\SYSTEM32\ntdll.dll
0x00007ffd60750000 - 0x00007ffd60814000 C:\WINDOWS\System32\KERNEL32.DLL
0x00007ffd5f930000 - 0x00007ffd5fcd7000 C:\WINDOWS\System32\KERNELBASE.dll
0x00007ffd5ff90000 - 0x00007ffd600a1000 C:\WINDOWS\System32\ucrtbase.dll
0x00007ffcd4da0000 - 0x00007ffcd4db9000 D:\Java\jdk-17\bin\jli.dll
0x00007ffd01d50000 - 0x00007ffd01d6b000 D:\Java\jdk-17\bin\VCRUNTIME140.dll
0x00007ffd61e40000 - 0x00007ffd61ef2000 C:\WINDOWS\System32\ADVAPI32.dll
0x00007ffd61fb0000 - 0x00007ffd62057000 C:\WINDOWS\System32\msvcrt.dll
0x00007ffd619a0000 - 0x00007ffd61a48000 C:\WINDOWS\System32\sechost.dll
0x00007ffd602a0000 - 0x00007ffd602c8000 C:\WINDOWS\System32\bcrypt.dll
0x00007ffd603c0000 - 0x00007ffd604d5000 C:\WINDOWS\System32\RPCRT4.dll
0x00007ffd60f80000 - 0x00007ffd6112e000 C:\WINDOWS\System32\USER32.dll
0x00007ffd5fec0000 - 0x00007ffd5fee6000 C:\WINDOWS\System32\win32u.dll
0x00007ffd60340000 - 0x00007ffd60369000 C:\WINDOWS\System32\GDI32.dll
0x00007ffd4d420000 - 0x00007ffd4d6b3000 C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.3527_none_270e469b73872a76\COMCTL32.dll
0x00007ffd5fce0000 - 0x00007ffd5fdf9000 C:\WINDOWS\System32\gdi32full.dll
0x00007ffd5fef0000 - 0x00007ffd5ff8a000 C:\WINDOWS\System32\msvcp_win.dll
0x00007ffd3d4f0000 - 0x00007ffd3d4fa000 C:\WINDOWS\SYSTEM32\VERSION.dll
0x00007ffd60540000 - 0x00007ffd60571000 C:\WINDOWS\System32\IMM32.DLL
0x00007ffd3dab0000 - 0x00007ffd3dabc000 D:\Java\jdk-17\bin\vcruntime140_1.dll
0x00007ffd3d7c0000 - 0x00007ffd3d84e000 D:\Java\jdk-17\bin\msvcp140.dll
0x00007ffcc23e0000 - 0x00007ffcc2fbf000 D:\Java\jdk-17\bin\server\jvm.dll
0x00007ffd61d90000 - 0x00007ffd61d98000 C:\WINDOWS\System32\PSAPI.DLL
0x00007ffd54e50000 - 0x00007ffd54e84000 C:\WINDOWS\SYSTEM32\WINMM.dll
0x00007ffd0d520000 - 0x00007ffd0d529000 C:\WINDOWS\SYSTEM32\WSOCK32.dll
0x00007ffd61da0000 - 0x00007ffd61e11000 C:\WINDOWS\System32\WS2_32.dll
0x00007ffd5ea40000 - 0x00007ffd5ea58000 C:\WINDOWS\SYSTEM32\kernel.appcore.dll
0x00007ffd4d340000 - 0x00007ffd4d34a000 D:\Java\jdk-17\bin\jimage.dll
0x00007ffd5cd40000 - 0x00007ffd5cf72000 C:\WINDOWS\SYSTEM32\DBGHELP.DLL
0x00007ffd60b70000 - 0x00007ffd60ef8000 C:\WINDOWS\System32\combase.dll
0x00007ffd624f0000 - 0x00007ffd625c7000 C:\WINDOWS\System32\OLEAUT32.dll
0x00007ffd509c0000 - 0x00007ffd509f2000 C:\WINDOWS\SYSTEM32\dbgcore.DLL
0x00007ffd600b0000 - 0x00007ffd60129000 C:\WINDOWS\System32\bcryptPrimitives.dll
0x00007ffd4d310000 - 0x00007ffd4d335000 D:\Java\jdk-17\bin\java.dll
dbghelp: loaded successfully - version: 4.0.5 - missing functions: none
symbol engine: initialized successfully - sym options: 0x614 - pdb path: .;D:\Java\jdk-17\bin;C:\WINDOWS\SYSTEM32;C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.3527_none_270e469b73872a76;D:\Java\jdk-17\bin\server
VM Arguments:
jvm_args: -Dmaven.multiModuleProjectDirectory=D:\work\IotDB -Djansi.passthrough=true -Dmaven.home=D:\maven\apache-maven-3.6.3 -Dclassworlds.conf=D:\maven\apache-maven-3.6.3\bin\m2.conf -Dmaven.ext.class.path=D:\idea2023\IntelliJ IDEA 2023.3.4\plugins\maven\lib\maven-event-listener.jar -Dfile.encoding=UTF-8
java_command: org.codehaus.classworlds.Launcher -Didea.version=2023.3.4 -s D:\maven\apache-maven-3.6.3\conf\settings.xml install
java_class_path (initial): D:\maven\apache-maven-3.6.3\boot\plexus-classworlds-2.6.0.jar;D:\maven\apache-maven-3.6.3\boot\plexus-classworlds.license
Launcher Type: SUN_STANDARD
[Global flags]
intx CICompilerCount = 12 {product} {ergonomic}
uint ConcGCThreads = 4 {product} {ergonomic}
uint G1ConcRefinementThreads = 15 {product} {ergonomic}
size_t G1HeapRegionSize = 2097152 {product} {ergonomic}
uintx GCDrainStackTargetSize = 64 {product} {ergonomic}
size_t InitialHeapSize = 264241152 {product} {ergonomic}
size_t MarkStackSize = 4194304 {product} {ergonomic}
size_t MaxHeapSize = 4223664128 {product} {ergonomic}
size_t MinHeapDeltaBytes = 2097152 {product} {ergonomic}
size_t MinHeapSize = 8388608 {product} {ergonomic}
uintx NonNMethodCodeHeapSize = 7602480 {pd product} {ergonomic}
uintx NonProfiledCodeHeapSize = 122027880 {pd product} {ergonomic}
uintx ProfiledCodeHeapSize = 122027880 {pd product} {ergonomic}
uintx ReservedCodeCacheSize = 251658240 {pd product} {ergonomic}
bool SegmentedCodeCache = true {product} {ergonomic}
size_t SoftMaxHeapSize = 4223664128 {manageable} {ergonomic}
bool UseCompressedClassPointers = true {product lp64_product} {ergonomic}
bool UseCompressedOops = true {product lp64_product} {ergonomic}
bool UseG1GC = true {product} {ergonomic}
bool UseLargePagesIndividualAllocation = false {pd product} {ergonomic}
Logging:
Log output configuration:
#0: stdout all=warning uptime,level,tags
#1: stderr all=off uptime,level,tags
Environment Variables:
JAVA_HOME=D:\java\jdk-17
CLASSPATH=.;D:\java\jdk-17\lib;%JAVA_HOME\lib\tools.jar
PATH=C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\NetSarang;D:\Program Files (x86)\VMware\VMware Workstation\bin\;C:\ProgramData\Oracle\Java\javapath;D:\java\jdk-17\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\MySQL\MySQL Server 5.5\bin;C:\Program Files\dotnet\;D:\maven\apache-maven-3.6.3\bin;C:\Program Files\nodejs\;D:\git\Git\cmd;C:\Users\86157\AppData\Local\Microsoft\WindowsApps;D:\LenovoSoftstore\Install\QQliuxidating\QQGameTempest\Hall.57808\;C:\Users\86157\AppData\Roaming\npm;D:\git\Git\cmd;D:\java\jdk-17\bin;D:\java\jdk-17;D:\bigdata\zookeeper\apache-zookeeper-3.6.4-bin\bin;
USERNAME=86157
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 154 Stepping 3, GenuineIntel
--------------- S Y S T E M ---------------
OS:
Windows 11 , 64 bit Build 22621 (10.0.22621.3527)
OS uptime: 0 days 0:36 hours
CPU: total 20 (initial active 20) (10 cores per cpu, 2 threads per core) family 6 model 154 stepping 3 microcode 0x41b, cx8, cmov, fxsr, ht, mmx, 3dnowpref, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, lzcnt, tsc, tscinvbit, avx, avx2, aes, erms, clmul, bmi1, bmi2, adx, sha, fma, vzeroupper, clflush, clflushopt, clwb
Memory: 4k page, system-wide physical 16109M (898M free)
TotalPageFile size 51272M (AvailPageFile size 225M)
current process WorkingSet (physical memory assigned to process): 11M, peak: 11M
current process commit charge ("private bytes"): 75M, peak: 327M
vm_info: Java HotSpot(TM) 64-Bit Server VM (17.0.10+11-LTS-240) for windows-amd64 JRE (17.0.10+11-LTS-240), built on Dec 19 2023 21:47:25 by "mach5one" with MS VC++ 17.1 (VS2022)
END.

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -118,11 +118,6 @@
<artifactId>tea-openapi</artifactId> <artifactId>tea-openapi</artifactId>
<version>0.3.2</version> <version>0.3.2</version>
</dependency> </dependency>
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>tea-openapi</artifactId>
<version>0.3.2</version>
</dependency>
<dependency> <dependency>
<groupId>com.aliyun</groupId> <groupId>com.aliyun</groupId>
<artifactId>tea-console</artifactId> <artifactId>tea-console</artifactId>
@ -229,6 +224,7 @@
<artifactId>caffeine</artifactId> <artifactId>caffeine</artifactId>
<version>2.9.3</version> <version>2.9.3</version>
</dependency> </dependency>
</dependencies> </dependencies>
<dependencyManagement> <dependencyManagement>

View File

@ -9,8 +9,9 @@ import org.springframework.data.redis.connection.RedisConnectionFactory;
import org.springframework.data.redis.core.RedisTemplate; import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.serializer.Jackson2JsonRedisSerializer; import org.springframework.data.redis.serializer.Jackson2JsonRedisSerializer;
import org.springframework.data.redis.serializer.StringRedisSerializer; import org.springframework.data.redis.serializer.StringRedisSerializer;
import org.springframework.stereotype.Component;
@Configuration @Component
public class RedisConfig { public class RedisConfig {
@Bean @Bean

View File

@ -1,31 +1,35 @@
//package com.muyu.event; package com.muyu.event;
//
//import com.muyu.kafka.SimpleKafkaConsumer; import com.muyu.kafka.SimpleKafkaConsumer;
//import lombok.extern.log4j.Log4j2; import lombok.extern.log4j.Log4j2;
//import org.checkerframework.checker.units.qual.C; import org.checkerframework.checker.units.qual.C;
//import org.springframework.boot.ApplicationArguments; import org.springframework.boot.ApplicationArguments;
//import org.springframework.boot.ApplicationRunner; import org.springframework.boot.ApplicationRunner;
//import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
//
///** import lombok.extern.log4j.Log4j2;
// * kafka消费者启动类 KafkaRunner import org.springframework.stereotype.Component;
// *
// * @author Yangle /**
// * Date 2024/6/20 21:42 * kafka KafkaRunner
// */ *
//@Component * @author Yangle
//@Log4j2 * Date 2024/6/20 21:42
//public class KafkaRunner implements ApplicationRunner { */
// @Component
// @Override @Log4j2
// public void run(ApplicationArguments args) throws Exception { public class KafkaRunner implements ApplicationRunner {
// try {
// log.info("项目启动开始动态启动kafka消费者"); @Override
// public void run(ApplicationArguments args) throws Exception {
// }catch (Exception e){
// log.error("启动kafka消费者失败异常信息:{}",e); try {
// } log.info("项目启动开始动态启动kafka消费者");
//
// } }catch (Exception e){
// log.error("启动kafka消费者失败异常信息:{}",e);
//} }
}
}

View File

@ -0,0 +1,25 @@
package com.muyu.event.common;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
/**
* Fault
*
* @author Yangle
* Date 2024/6/21 9:27
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class Fault {
private String vin;
private String faultName;
private String faultTime;
}

View File

@ -0,0 +1,10 @@
package com.muyu.event.listen;
/**
* RabbitMqListen
*
* @author Yangle
* Date 2024/6/21 19:06
*/
public class RabbitMqListen {
}

View File

@ -0,0 +1,47 @@
package com.muyu.event.redis;
import lombok.extern.log4j.Log4j2;
import org.springframework.amqp.rabbit.core.RabbitTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.connection.Message;
import org.springframework.data.redis.listener.KeyExpirationEventMessageListener;
import org.springframework.data.redis.listener.RedisMessageListenerContainer;
import org.springframework.stereotype.Component;
/**
* RedisKeyExpirationListener
*
* @author Yangle
* Date 2024/6/21 14:12
*/
@Log4j2
@Configuration
public class RedisKeyExpirationListener extends KeyExpirationEventMessageListener {
@Autowired
private RabbitTemplate rabbitTemplate;
public RedisKeyExpirationListener(RedisMessageListenerContainer listenerContainer) {
super(listenerContainer);
}
/**
* redis
* @param message key
*/
@Override
public void onMessage(Message message, byte[] pattern) {
log.info("过期redis数据" + message.toString());
try {
String key = message.toString();
log.info("过期redis数据" + key);
rabbitTemplate.convertAndSend("disconnect_connect","resolve_time",key);
} catch (Exception e) {
e.printStackTrace();
log.error("【修改支付订单过期状态异常】:" + e.getMessage());
}
}
}

View File

@ -0,0 +1,52 @@
package com.muyu.event.redis;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;
import org.springframework.data.redis.connection.RedisConnectionFactory;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.listener.RedisMessageListenerContainer;
import org.springframework.data.redis.serializer.Jackson2JsonRedisSerializer;
import org.springframework.data.redis.serializer.StringRedisSerializer;
import org.springframework.stereotype.Component;
/**
* RedisListenerConfig
*
* @author Yangle
* Date 2024/6/21 14:09
*/
@Primary
@Configuration
public class RedisListenerConfig {
// 监听key过期事件
@Bean
RedisMessageListenerContainer container(RedisConnectionFactory connectionFactory) {
RedisMessageListenerContainer container = new RedisMessageListenerContainer();
container.setConnectionFactory(connectionFactory);
return container;
}
// RedisTemplate序列化
// @Bean
// public RedisTemplate<String, Object> redisTemplate(RedisConnectionFactory redisConnectionFactory) {
// RedisTemplate<String, Object> redisTemplate = new RedisTemplate<>();
// redisTemplate.setConnectionFactory(redisConnectionFactory);
// StringRedisSerializer stringRedisSerializer = new StringRedisSerializer();
// redisTemplate.setKeySerializer(stringRedisSerializer);
// redisTemplate.setHashKeySerializer(stringRedisSerializer);
// Jackson2JsonRedisSerializer<?> jackson2JsonRedisSerializer = new Jackson2JsonRedisSerializer<>(Object.class);
// redisTemplate.setValueSerializer(jackson2JsonRedisSerializer);
// redisTemplate.setHashValueSerializer(jackson2JsonRedisSerializer);
// redisTemplate.afterPropertiesSet();
// return redisTemplate;
// }
}

View File

@ -5,16 +5,19 @@ import com.alibaba.fastjson.JSON;
import com.github.benmanes.caffeine.cache.Cache; import com.github.benmanes.caffeine.cache.Cache;
import com.github.benmanes.caffeine.cache.Caffeine; import com.github.benmanes.caffeine.cache.Caffeine;
import com.muyu.demos.model.Result; import com.muyu.demos.model.Result;
import com.muyu.event.common.Fault;
import com.muyu.event.common.VehicleEvent; import com.muyu.event.common.VehicleEvent;
import com.muyu.event.mapper.EventMapper; import com.muyu.event.mapper.EventMapper;
import com.muyu.event.service.EventService; import com.muyu.event.service.EventService;
import com.muyu.mqtt.dao.MessageData; import com.muyu.mqtt.dao.MessageData;
import com.rabbitmq.client.ConnectionFactory;
import lombok.extern.log4j.Log4j2; import lombok.extern.log4j.Log4j2;
import org.apache.kafka.clients.consumer.ConsumerRecord; import org.apache.kafka.clients.consumer.ConsumerRecord;
import org.apache.kafka.clients.consumer.ConsumerRecords; import org.apache.kafka.clients.consumer.ConsumerRecords;
import org.apache.kafka.clients.consumer.KafkaConsumer; import org.apache.kafka.clients.consumer.KafkaConsumer;
import org.springframework.amqp.core.Message; import org.springframework.amqp.core.Message;
import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.amqp.rabbit.core.RabbitTemplate;
import org.springframework.amqp.support.converter.Jackson2JsonMessageConverter;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate; import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
@ -26,10 +29,7 @@ import java.time.Instant;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import java.time.ZoneId; import java.time.ZoneId;
import java.time.format.DateTimeFormatter; import java.time.format.DateTimeFormatter;
import java.util.Collections; import java.util.*;
import java.util.Date;
import java.util.List;
import java.util.Properties;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;
/** /**
@ -55,7 +55,6 @@ public class EventServiceImpl implements EventService {
@Override @Override
public Result<MessageData> selectEvent(VehicleEvent vehicleEvent) { public Result<MessageData> selectEvent(VehicleEvent vehicleEvent) {
if (vehicleEvent.getEvent() != null) {
if (vehicleEvent.getEvent() != null) { if (vehicleEvent.getEvent() != null) {
@ -77,23 +76,101 @@ public class EventServiceImpl implements EventService {
// 格式化输出日期时间 // 格式化输出日期时间
String formattedTime = dateTime.format(DateTimeFormatter.ofPattern("yyyy年MM月dd日 HH时mm分ss秒")); String formattedTime = dateTime.format(DateTimeFormatter.ofPattern("yyyy年MM月dd日 HH时mm分ss秒"));
if (messageData.getVehicleStatus().equals("0")){ //判断车辆状态
if (localCache.getIfPresent(messageData.getVin())==null){ vehicleStatus(messageData, formattedTime);
if (redisTemplate.hasKey(messageData.getVin())){
redisTemplate.opsForValue().set(messageData.getVin(),"vin:"+messageData.getVin()+",故障名称:"+messageData.getVehicleStatus()+",时间:"+formattedTime,10, TimeUnit.MINUTES); //判断充电状态
log.info("该车没有存到缓存中"); chargeStatus(messageData, formattedTime);
}
localCache.put(messageData.getVin(),"vin:"+messageData.getVin()+",故障名称:GZ001"+",时间:"+formattedTime); // //判断运行状态
log.info("该车没有存到缓存中"); // runStatus(messageData, formattedTime);
} //
}else { // //判断SOC
redisTemplate.delete(messageData.getVin()); // soc(messageData, formattedTime);
localCache.invalidate(messageData.getVin()); //
log.info("该车故障已修复"); // //判断充电工作状态
// rabbitTemplate.send(messageData.getVin(),); // chargeWorkStatus(messageData, formattedTime);
} //
// //判断驱动电机状态
// driveMotorStatus(messageData, formattedTime);
//
// //判断位置
// location(messageData, formattedTime);
//
// //判断EAS
// eas(messageData, formattedTime);
//
// //判断PTC
// ptc(messageData, formattedTime);
//
// //判断EPS
// eps(messageData, formattedTime);
// //判断ABS
// abs(messageData, formattedTime);
// //判断MCU
// mcu(messageData, formattedTime);
// //判断动力电池加热
// powerBatteryHeating(messageData, formattedTime);
// //判断动力电池电流
// powerBatteryCurrentStatus(messageData, formattedTime);
// //判断动力电池保温
// powerBatteryHeat(messageData, formattedTime);
// //判断DCDC
// dcdc(messageData, formattedTime);
// //判断CHG
// chg(messageData, formattedTime);
} }
// else {
// // 假设您有一个方法来从缓存中获取当前的故障列表
// List<Fault> currentFaults = JSON.parseArray(localCache.getIfPresent(messageData.getVin()), Fault.class);
//
// // 创建一个新的故障列表,用于存储更新后的故障信息
// List<Fault> updatedFaults = new ArrayList<>(currentFaults);
//
// // 检查和更新故障状态
// boolean vehicleFault = messageData.getVehicleStatus().equals("0");
// boolean chargeFault = messageData.getChargeStatus().equals("0");
//
// if (vehicleFault) {
// // 如果车辆状态为故障确保GZ001在故障列表中
// updatedFaults.add(Fault.builder()
// .vin(messageData.getVin())
// .faultName("GZ001")
// .faultTime(formattedTime)
// .build());
// } else {
// // 如果车辆状态不再是故障从列表中移除GZ001
// updatedFaults.removeIf(fault -> "GZ001".equals(fault.getFaultName()));
// }
//
// if (chargeFault) {
// // 如果充电状态为故障确保GZ002在故障列表中
// updatedFaults.add(Fault.builder()
// .vin(messageData.getVin())
// .faultName("GZ002")
// .faultTime(formattedTime)
// .build());
// } else {
// // 如果充电状态不再是故障从列表中移除GZ002
// updatedFaults.removeIf(fault -> "GZ002".equals(fault.getFaultName()));
// }
//
// // 序列化更新后的故障列表
// String updatedFaultsJson = JSON.toJSONString(updatedFaults);
//
// // 存储更新后的故障信息到Redis和本地缓存
// if (!updatedFaults.isEmpty()) {
// redisTemplate.opsForValue().set(messageData.getVin(), updatedFaultsJson, 10, TimeUnit.MINUTES);
// localCache.put(messageData.getVin(), updatedFaultsJson);
// log.info("更新车辆故障信息存储到Redis和本地缓存中");
// } else {
// // 如果没有故障,从缓存中删除记录
// redisTemplate.delete(messageData.getVin());
// localCache.invalidate(messageData.getVin());
// log.info("该车故障已修复,相关信息从缓存中删除");
// }
// }
} }
}).start(); }).start();
} }
@ -126,10 +203,11 @@ public class EventServiceImpl implements EventService {
} }
} }
}
return Result.error("车辆没有绑定事件"); return Result.error("车辆没有绑定事件");
} }
/** /**
* *
*/ */
@ -137,7 +215,7 @@ public class EventServiceImpl implements EventService {
.initialCapacity(5) .initialCapacity(5)
.maximumSize(10) .maximumSize(10)
//过期时间3秒钟 //过期时间3秒钟
.expireAfterWrite(3, TimeUnit.HOURS) .expireAfterWrite(5, TimeUnit.SECONDS)
.build(); .build();
/** /**
* kafka * kafka
@ -178,4 +256,443 @@ public class EventServiceImpl implements EventService {
// ProducerRecord<String, String> producerRecord = new ProducerRecord<>(topic, main.getVin(), JSON.toJSONString(main)); // ProducerRecord<String, String> producerRecord = new ProducerRecord<>(topic, main.getVin(), JSON.toJSONString(main));
// // 发送消息 // // 发送消息
// kafkaTemplate.send(producerRecord); // kafkaTemplate.send(producerRecord);
//判断车辆状态
public void vehicleStatus(MessageData messageData, String formattedTime){
if (messageData.getVehicleStatus().equals("0")) {
if (messageData.getVehicleStatus().equals("0") && !redisTemplate.hasKey(messageData.getVin() + "-" + "GZ001")) {
// 车辆状态异常,第一次发生
// 创建故障对象
Fault gz001 = Fault.builder()
.vin(messageData.getVin())
.faultName("GZ001")
.faultTime(formattedTime)
.build();
String gz001Json = JSON.toJSONString(gz001);
// 存储故障信息到本地缓存和Redis
localCache.put(messageData.getVin() + "-" + "GZ001", gz001Json);
redisTemplate.opsForValue().set(messageData.getVin() + "-" + "GZ001", gz001Json, 10, TimeUnit.SECONDS);
// 发送消息到RabbitMQ
sendToRabbitMQ(gz001);
log.info("该车故障GZ001信息首次存储到本地缓存和Redis中并发送到RabbitMQ");
} else if (messageData.getVehicleStatus().equals("0")) {
// 刷新Redis中的故障信息过期时间
redisTemplate.expire(messageData.getVin() + "-" + "GZ001", 10, TimeUnit.SECONDS);
log.info("该车故障GZ001信息在Redis中的过期时间被刷新不发送到RabbitMQ");
}
}
}
//判断充电状态
private void chargeStatus(MessageData messageData, String formattedTime) {
if (messageData.getChargeStatus().equals("0")) {
if (localCache.getIfPresent(messageData.getVin()+"-"+"GZ002")==null) {
Fault gz002 = Fault.builder()
.vin(messageData.getVin())
.faultName("GZ002")
.faultTime(formattedTime)
.build();
localCache.put(messageData.getVin() + "-" + "GZ002", JSON.toJSONString(gz002));
log.info("该车故障GZ002信息存储到本地缓存中");
if (!redisTemplate.hasKey(messageData.getVin() + "-" + "GZ002")) {
redisTemplate.opsForValue().set(messageData.getVin() + "-" + "GZ002", JSON.toJSONString(gz002),10,TimeUnit.SECONDS);
log.info("该车故障GZ002信息存储到Redis中");
}
}
}else {
redisTemplate.delete(messageData.getVin()+"-"+"GZ002");
localCache.invalidate(messageData.getVin()+"-"+"GZ002");
log.info("删除该车故障GZ002信息存储到本地缓存中");
log.info("删除该车故障GZ002信息存储到Redis中");
}
}
// //判断运行状态
// private void runStatus(MessageData messageData, String formattedTime) {
// if (messageData.getRunStatus().equals("0")) {
//
// if (localCache.getIfPresent(messageData.getVin()+"-"+"GZ003")==null) {
// Fault gz002 = Fault.builder()
// .vin(messageData.getVin())
// .faultName("GZ003")
// .faultTime(formattedTime)
// .build();
// localCache.put(messageData.getVin() + "-" + "GZ003", JSON.toJSONString(gz002));
// log.info("该车故障GZ003信息存储到本地缓存中");
// if (!redisTemplate.hasKey(messageData.getVin() + "-" + "GZ003")) {
// redisTemplate.opsForValue().set(messageData.getVin() + "-" + "GZ003", JSON.toJSONString(gz002),10,TimeUnit.SECONDS);
// log.info("该车故障GZ003信息存储到Redis中");
// }
// }
//
// }else {
// redisTemplate.delete(messageData.getVin()+"-"+"GZ003");
// localCache.invalidate(messageData.getVin()+"-"+"GZ003");
// log.info("删除该车故障GZ003信息存储到本地缓存中");
// log.info("删除该车故障GZ003信息存储到Redis中");
// }
// }
// //判断SOC
// private void soc(MessageData messageData, String formattedTime) {
// if (messageData.getChargeStatus().equals("0")) {
//
// if (localCache.getIfPresent(messageData.getVin()+"-"+"GZ004")==null) {
// Fault gz002 = Fault.builder()
// .vin(messageData.getVin())
// .faultName("GZ004")
// .faultTime(formattedTime)
// .build();
// localCache.put(messageData.getVin() + "-" + "GZ004", JSON.toJSONString(gz002));
// log.info("该车故障GZ004信息存储到本地缓存中");
// if (!redisTemplate.hasKey(messageData.getVin() + "-" + "GZ004")) {
// redisTemplate.opsForValue().set(messageData.getVin() + "-" + "GZ004", JSON.toJSONString(gz002),10,TimeUnit.SECONDS);
// log.info("该车故障GZ004信息存储到Redis中");
// }
// }
//
// }else {
// redisTemplate.delete(messageData.getVin()+"-"+"GZ004");
// localCache.invalidate(messageData.getVin()+"-"+"GZ004");
// log.info("删除该车故障GZ004信息存储到本地缓存中");
// log.info("删除该车故障GZ004信息存储到Redis中");
// }
// }
//
//
// // 判断充电工作状态
// private void chargeWorkStatus(MessageData messageData, String formattedTime) {
// if (messageData.getChargeStatus().equals("0")) {
//
// if (localCache.getIfPresent(messageData.getVin()+"-"+"GZ002")==null) {
// Fault gz002 = Fault.builder()
// .vin(messageData.getVin())
// .faultName("GZ005")
// .faultTime(formattedTime)
// .build();
// localCache.put(messageData.getVin() + "-" + "GZ005", JSON.toJSONString(gz002));
// log.info("该车故障GZ005信息存储到本地缓存中");
// if (!redisTemplate.hasKey(messageData.getVin() + "-" + "GZ005")) {
// redisTemplate.opsForValue().set(messageData.getVin() + "-" + "GZ005", JSON.toJSONString(gz002),10,TimeUnit.SECONDS);
// log.info("该车故障GZ005信息存储到Redis中");
// }
// }
//
// }else {
// redisTemplate.delete(messageData.getVin()+"-"+"GZ005");
// localCache.invalidate(messageData.getVin()+"-"+"GZ005");
// log.info("删除该车故障GZ005信息存储到本地缓存中");
// log.info("删除该车故障GZ005信息存储到Redis中");
// }
// }
//
// //判断驱动电机状态
// private void driveMotorStatus(MessageData messageData,String formattedTime){
// if (messageData.getDriveMotorStatus().equals("0")) {
//
// if (localCache.getIfPresent(messageData.getVin()+"-"+"GZ002")==null) {
// Fault gz002 = Fault.builder()
// .vin(messageData.getVin())
// .faultName("GZ006")
// .faultTime(formattedTime)
// .build();
// localCache.put(messageData.getVin() + "-" + "GZ006", JSON.toJSONString(gz002));
// log.info("该车故障GZ006信息存储到本地缓存中");
// if (!redisTemplate.hasKey(messageData.getVin() + "-" + "GZ006")) {
// redisTemplate.opsForValue().set(messageData.getVin() + "-" + "GZ006", JSON.toJSONString(gz002),10,TimeUnit.SECONDS);
// log.info("该车故障GZ006信息存储到Redis中");
// }
// }
//
// }else {
// redisTemplate.delete(messageData.getVin()+"-"+"GZ006");
// localCache.invalidate(messageData.getVin()+"-"+"GZ006");
// log.info("删除该车故障GZ006信息存储到本地缓存中");
// log.info("删除该车故障GZ006信息存储到Redis中");
// }
// }
// //判断定位
// private void location(MessageData messageData,String formattedTime){
// if (messageData.getChargeStatus().equals("0")) {
//
// if (localCache.getIfPresent(messageData.getVin()+"-"+"GZ007")==null) {
// Fault gz002 = Fault.builder()
// .vin(messageData.getVin())
// .faultName("GZ007")
// .faultTime(formattedTime)
// .build();
// localCache.put(messageData.getVin() + "-" + "GZ007", JSON.toJSONString(gz002));
// log.info("该车故障GZ007信息存储到本地缓存中");
// if (!redisTemplate.hasKey(messageData.getVin() + "-" + "GZ007")) {
// redisTemplate.opsForValue().set(messageData.getVin() + "-" + "GZ007", JSON.toJSONString(gz002),10,TimeUnit.SECONDS);
// log.info("该车故障GZ007信息存储到Redis中");
// }
// }
//
// }else {
// redisTemplate.delete(messageData.getVin()+"-"+"GZ007");
// localCache.invalidate(messageData.getVin()+"-"+"GZ007");
// log.info("删除该车故障GZ007信息存储到本地缓存中");
// log.info("删除该车故障GZ007信息存储到Redis中");
// }
// }
// //判断EAS
// private void eas(MessageData messageData,String formattedTime){
// if (messageData.getEas().equals("0")) {
//
// if (localCache.getIfPresent(messageData.getVin()+"-"+"GZ008")==null) {
// Fault gz002 = Fault.builder()
// .vin(messageData.getVin())
// .faultName("GZ008")
// .faultTime(formattedTime)
// .build();
// localCache.put(messageData.getVin() + "-" + "GZ008", JSON.toJSONString(gz002));
// log.info("该车故障GZ008信息存储到本地缓存中");
// if (!redisTemplate.hasKey(messageData.getVin() + "-" + "GZ008")) {
// redisTemplate.opsForValue().set(messageData.getVin() + "-" + "GZ008", JSON.toJSONString(gz002),10,TimeUnit.SECONDS);
// log.info("该车故障GZ008信息存储到Redis中");
// }
// }
//
// }else {
// redisTemplate.delete(messageData.getVin()+"-"+"GZ008");
// localCache.invalidate(messageData.getVin()+"-"+"GZ008");
// log.info("删除该车故障GZ008信息存储到本地缓存中");
// log.info("删除该车故障GZ008信息存储到Redis中");
// }
// }
// //判断EPS
// private void ptc(MessageData messageData,String formattedTime){
// if (messageData.getPtc().equals("0")) {
//
// if (localCache.getIfPresent(messageData.getVin()+"-"+"GZ009")==null) {
// Fault gz002 = Fault.builder()
// .vin(messageData.getVin())
// .faultName("GZ009")
// .faultTime(formattedTime)
// .build();
// localCache.put(messageData.getVin() + "-" + "GZ009", JSON.toJSONString(gz002));
// log.info("该车故障GZ009信息存储到本地缓存中");
// if (!redisTemplate.hasKey(messageData.getVin() + "-" + "GZ009")) {
// redisTemplate.opsForValue().set(messageData.getVin() + "-" + "GZ009", JSON.toJSONString(gz002),10,TimeUnit.SECONDS);
// log.info("该车故障GZ009信息存储到Redis中");
// }
// }
// }else {
// redisTemplate.delete(messageData.getVin()+"-"+"GZ009");
// localCache.invalidate(messageData.getVin()+"-"+"GZ009");
// log.info("删除该车故障GZ009信息存储到本地缓存中");
// log.info("删除该车故障GZ009信息存储到Redis中");
// }
// }
// //判断EPS
// private void eps(MessageData messageData,String formattedTime){
// if (messageData.getEas().equals("0")) {
//
// if (localCache.getIfPresent(messageData.getVin()+"-"+"GZ010")==null) {
// Fault gz002 = Fault.builder()
// .vin(messageData.getVin())
// .faultName("GZ010")
// .faultTime(formattedTime)
// .build();
// localCache.put(messageData.getVin() + "-" + "GZ010", JSON.toJSONString(gz002));
// log.info("该车故障GZ010信息存储到本地缓存中");
// if (!redisTemplate.hasKey(messageData.getVin() + "-" + "GZ010")) {
// redisTemplate.opsForValue().set(messageData.getVin() + "-" + "GZ010", JSON.toJSONString(gz002),10,TimeUnit.SECONDS);
// log.info("该车故障GZ010信息存储到Redis中");
// }
// }
// }else {
// redisTemplate.delete(messageData.getVin()+"-"+"GZ010");
// localCache.invalidate(messageData.getVin()+"-"+"GZ010");
// log.info("删除该车故障GZ010信息存储到本地缓存中");
// log.info("删除该车故障GZ010信息存储到Redis中");
// }
// }
// //判断ABS
// private void abs(MessageData messageData,String formattedTime){
// if (messageData.getAbs().equals("0")) {
//
// if (localCache.getIfPresent(messageData.getVin()+"-"+"GZ010")==null) {
// Fault gz002 = Fault.builder()
// .vin(messageData.getVin())
// .faultName("GZ011")
// .faultTime(formattedTime)
// .build();
// localCache.put(messageData.getVin() + "-" + "GZ011", JSON.toJSONString(gz002));
// log.info("该车故障GZ011信息存储到本地缓存中");
// if (!redisTemplate.hasKey(messageData.getVin() + "-" + "GZ011")) {
// redisTemplate.opsForValue().set(messageData.getVin() + "-" + "GZ011", JSON.toJSONString(gz002),10,TimeUnit.SECONDS);
// log.info("该车故障GZ011信息存储到Redis中");
// }
// }
// }else {
// redisTemplate.delete(messageData.getVin()+"-"+"GZ011");
// localCache.invalidate(messageData.getVin()+"-"+"GZ011");
// log.info("删除该车故障GZ011信息存储到本地缓存中");
// log.info("删除该车故障GZ011信息存储到Redis中");
// }
// }
//
// //判断MCU
// private void mcu(MessageData messageData,String formattedTime){
// if (messageData.getMcu().equals("0")) {
//
// if (localCache.getIfPresent(messageData.getVin()+"-"+"GZ012")==null) {
// Fault gz002 = Fault.builder()
// .vin(messageData.getVin())
// .faultName("GZ012")
// .faultTime(formattedTime)
// .build();
// localCache.put(messageData.getVin() + "-" + "GZ012", JSON.toJSONString(gz002));
// log.info("该车故障GZ012信息存储到本地缓存中");
// if (!redisTemplate.hasKey(messageData.getVin() + "-" + "GZ012")) {
// redisTemplate.opsForValue().set(messageData.getVin() + "-" + "GZ012", JSON.toJSONString(gz002),10,TimeUnit.SECONDS);
// log.info("该车故障GZ012信息存储到Redis中");
// }
// }
// }else {
// redisTemplate.delete(messageData.getVin()+"-"+"GZ012");
// localCache.invalidate(messageData.getVin()+"-"+"GZ012");
// log.info("删除该车故障GZ012信息存储到本地缓存中");
// log.info("删除该车故障GZ012信息存储到Redis中");
// }
// }
// //判断动力电池加热
// private void powerBatteryHeating(MessageData messageData,String formattedTime){
// if (messageData.getPowerBattery().equals("0")) {
//
// if (localCache.getIfPresent(messageData.getVin()+"-"+"GZ013")==null) {
// Fault gz002 = Fault.builder()
// .vin(messageData.getVin())
// .faultName("GZ013")
// .faultTime(formattedTime)
// .build();
// localCache.put(messageData.getVin() + "-" + "GZ013", JSON.toJSONString(gz002));
// log.info("该车故障GZ013信息存储到本地缓存中");
// if (!redisTemplate.hasKey(messageData.getVin() + "-" + "GZ013")) {
// redisTemplate.opsForValue().set(messageData.getVin() + "-" + "GZ013", JSON.toJSONString(gz002),10,TimeUnit.SECONDS);
// log.info("该车故障GZ013信息存储到Redis中");
// }
// }
// }else {
// redisTemplate.delete(messageData.getVin()+"-"+"GZ013");
// localCache.invalidate(messageData.getVin()+"-"+"GZ013");
// log.info("删除该车故障GZ013信息存储到本地缓存中");
// log.info("删除该车故障GZ013信息存储到Redis中");
// }
// }
// //判断动力电池电流
// private void powerBatteryCurrentStatus(MessageData messageData,String formattedTime){
// if (messageData.getEas().equals("0")) {
//
// if (localCache.getIfPresent(messageData.getVin()+"-"+"GZ014")==null) {
// Fault gz002 = Fault.builder()
// .vin(messageData.getVin())
// .faultName("GZ014")
// .faultTime(formattedTime)
// .build();
// localCache.put(messageData.getVin() + "-" + "GZ014", JSON.toJSONString(gz002));
// log.info("该车故障GZ014信息存储到本地缓存中");
// if (!redisTemplate.hasKey(messageData.getVin() + "-" + "GZ014")) {
// redisTemplate.opsForValue().set(messageData.getVin() + "-" + "GZ014", JSON.toJSONString(gz002),10,TimeUnit.SECONDS);
// log.info("该车故障GZ014信息存储到Redis中");
// }
// }
// }else {
// redisTemplate.delete(messageData.getVin()+"-"+"GZ014");
// localCache.invalidate(messageData.getVin()+"-"+"GZ014");
// log.info("删除该车故障GZ014信息存储到本地缓存中");
// log.info("删除该车故障GZ014信息存储到Redis中");
// }
// }
// //判断动力电池保温
// private void powerBatteryHeat(MessageData messageData,String formattedTime){
// if (messageData.getEas().equals("0")) {
//
// if (localCache.getIfPresent(messageData.getVin()+"-"+"GZ015")==null) {
// Fault gz002 = Fault.builder()
// .vin(messageData.getVin())
// .faultName("GZ015")
// .faultTime(formattedTime)
// .build();
// localCache.put(messageData.getVin() + "-" + "GZ015", JSON.toJSONString(gz002));
// log.info("该车故障GZ015信息存储到本地缓存中");
// if (!redisTemplate.hasKey(messageData.getVin() + "-" + "GZ015")) {
// redisTemplate.opsForValue().set(messageData.getVin() + "-" + "GZ015", JSON.toJSONString(gz002),10,TimeUnit.SECONDS);
// log.info("该车故障GZ015信息存储到Redis中");
// }
// }
// }else {
// redisTemplate.delete(messageData.getVin()+"-"+"GZ015");
// localCache.invalidate(messageData.getVin()+"-"+"GZ015");
// log.info("删除该车故障GZ015信息存储到本地缓存中");
// log.info("删除该车故障GZ015信息存储到Redis中");
// }
// }
// //判断DCDC
// private void dcdc(MessageData messageData,String formattedTime){
// if (messageData.getEas().equals("0")) {
//
// if (localCache.getIfPresent(messageData.getVin()+"-"+"GZ016")==null) {
// Fault gz002 = Fault.builder()
// .vin(messageData.getVin())
// .faultName("GZ016")
// .faultTime(formattedTime)
// .build();
// localCache.put(messageData.getVin() + "-" + "GZ016", JSON.toJSONString(gz002));
// log.info("该车故障GZ016信息存储到本地缓存中");
// if (!redisTemplate.hasKey(messageData.getVin() + "-" + "GZ016")) {
// redisTemplate.opsForValue().set(messageData.getVin() + "-" + "GZ016", JSON.toJSONString(gz002),10,TimeUnit.SECONDS);
// log.info("该车故障GZ016信息存储到Redis中");
// }
// }
// }else {
// redisTemplate.delete(messageData.getVin()+"-"+"GZ016");
// localCache.invalidate(messageData.getVin()+"-"+"GZ016");
// log.info("删除该车故障GZ016信息存储到本地缓存中");
// log.info("删除该车故障GZ016信息存储到Redis中");
// }
// }
// //判断CHG
// private void chg(MessageData messageData,String formattedTime){
// if (messageData.getEas().equals("0")) {
//
// if (localCache.getIfPresent(messageData.getVin()+"-"+"GZ017")==null) {
// Fault gz002 = Fault.builder()
// .vin(messageData.getVin())
// .faultName("GZ017")
// .faultTime(formattedTime)
// .build();
// localCache.put(messageData.getVin() + "-" + "GZ017", JSON.toJSONString(gz002));
// log.info("该车故障GZ017信息存储到本地缓存中");
// if (!redisTemplate.hasKey(messageData.getVin() + "-" + "GZ017")) {
// redisTemplate.opsForValue().set(messageData.getVin() + "-" + "GZ017", JSON.toJSONString(gz002),10,TimeUnit.SECONDS);
// log.info("该车故障GZ017信息存储到Redis中");
// }
// }
// }else {
// redisTemplate.delete(messageData.getVin()+"-"+"GZ017");
// localCache.invalidate(messageData.getVin()+"-"+"GZ017");
// log.info("删除该车故障GZ017信息存储到本地缓存中");
// log.info("删除该车故障GZ017信息存储到Redis中");
// }
// }
public void sendToRabbitMQ(Fault gz001){
// rabbitTemplate.convertAndSend("exchange_breakdown", "with", gz001.toString());
rabbitTemplate.convertAndSend("exchange_breakdown","with",JSON.toJSONString(gz001));
log.info("故障信息发送到RabbitMQ");
}
} }

View File

@ -1,26 +1,18 @@
package com.muyu.kafka; package com.muyu.kafka;
import com.alibaba.fastjson.JSON;
import com.muyu.iotDB.service.IotDbServer; import com.muyu.iotDB.service.IotDbServer;
import com.muyu.mqtt.dao.MessageData; import com.muyu.mqtt.dao.MessageData;
import lombok.extern.log4j.Log4j2; import lombok.extern.log4j.Log4j2;
import org.apache.iotdb.rpc.IoTDBConnectionException;
import org.apache.iotdb.rpc.StatementExecutionException;
import org.apache.kafka.clients.consumer.ConsumerConfig;
import org.apache.kafka.clients.consumer.ConsumerRecord; import org.apache.kafka.clients.consumer.ConsumerRecord;
import org.apache.kafka.clients.consumer.ConsumerRecords;
import org.apache.kafka.clients.consumer.KafkaConsumer;
import org.apache.kafka.common.TopicPartition;
import org.apache.kafka.common.serialization.StringDeserializer;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate; import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.kafka.annotation.KafkaListener; import org.springframework.kafka.annotation.KafkaListener;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.rmi.ServerException;
import java.time.Duration;
import java.util.*;
/** /**
* SimpleKafkaConsumer * SimpleKafkaConsumer
@ -53,7 +45,7 @@ public class SimpleKafkaConsumer {
} }
} }
@KafkaListener(topics = "test2", groupId = "Topics") @KafkaListener(topics = "test1", groupId = "Topics")
public void consume2(ConsumerRecord<String, String> record) { public void consume2(ConsumerRecord<String, String> record) {
log.info("开始消费"); log.info("开始消费");
try { try {

View File

@ -11,6 +11,7 @@ import org.springframework.amqp.core.DirectExchange;
import org.springframework.amqp.core.Queue; import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;
import java.time.Duration; import java.time.Duration;
import java.util.Collections; import java.util.Collections;
@ -26,22 +27,38 @@ import java.util.Properties;
public class RabbitConfig { public class RabbitConfig {
@Primary
@Bean @Bean
public Queue autoDeleteQueue1() { public Queue autoDeleteQueue1() {
return new Queue("create.topic", true); return new Queue("discover_time", true);
} }
@Primary
@Bean
public Queue resolve_time() {
return new Queue("resolve_time", true);
}
@Primary
@Bean @Bean
public DirectExchange directExchange() { public DirectExchange directExchange() {
return new DirectExchange("topic.direct"); return new DirectExchange("exchange_breakdown");
} }
@Primary
@Bean @Bean
public Binding binding(DirectExchange directExchange, public Binding binding(DirectExchange directExchange,
Queue autoDeleteQueue1 ) { Queue autoDeleteQueue1 ) {
return BindingBuilder.bind(autoDeleteQueue1) return BindingBuilder.bind(autoDeleteQueue1)
.to(directExchange) .to(directExchange)
.with("protocol-parsing"); .with("with");
}
@Primary
@Bean
public Binding resolve_time(DirectExchange directExchange,
Queue resolve_time ) {
return BindingBuilder.bind(resolve_time)
.to(directExchange)
.with("resolve_time");
} }
} }

View File

@ -27,6 +27,8 @@ public class RabbitmqConfig {
return ExchangeBuilder.topicExchange(EXCHANGE_TOPICS_INFORM).durable(true).build(); return ExchangeBuilder.topicExchange(EXCHANGE_TOPICS_INFORM).durable(true).build();
} }
//声明QUEUE_INFORM_EMAIL队列 //声明QUEUE_INFORM_EMAIL队列
@Bean(QUEUE_INFORM_EMAIL) @Bean(QUEUE_INFORM_EMAIL)
public Queue QUEUE_INFORM_EMAIL(){ public Queue QUEUE_INFORM_EMAIL(){