1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
| 2024-02-27 11:17:25.346 12889-12889 OOMMonitor com.kwai.koom.demo I startLoop()
2024-02-27 11:17:30.412 12889-12940 OOMMonitor_SystemInfo com.kwai.koom.demo I ----OOM Monitor Memory----
2024-02-27 11:17:30.412 12889-12940 OOMMonitor_SystemInfo com.kwai.koom.demo I [java] max:536870912 used ratio:1%
2024-02-27 11:17:30.412 12889-12940 OOMMonitor_SystemInfo com.kwai.koom.demo I [proc] VmSize:2695044kB VmRss:135440kB Threads:715
2024-02-27 11:17:30.412 12889-12940 OOMMonitor_SystemInfo com.kwai.koom.demo I [meminfo] MemTotal:2042232kB MemFree:352144kB MemAvailable:881440kB
2024-02-27 11:17:30.412 12889-12940 OOMMonitor_SystemInfo com.kwai.koom.demo I avaliable ratio:43% CmaTotal:303104kB ION_heap:0kB
2024-02-27 11:17:30.412 12889-12940 OOMMonitor...OOMTracker com.kwai.koom.demo I [meet condition] overThresholdCount:1, threadCount: 715
2024-02-27 11:17:30.413 12889-12940 OOMMonitor...OOMTracker com.kwai.koom.demo I over threshold dumpThreadIfNeed
2024-02-27 11:17:30.833 12889-12940 OOMMonitor...OOMTracker com.kwai.koom.demo I threadNames = [.kwai.koom.demo, Jit thread pool, Signal Catcher, ADB-JDWP Connec, HeapTaskDaemon, ReferenceQueueD, FinalizerDaemon, FinalizerWatchd, Binder:12889_1, Binder:12889_2, Binder:12889_3, Profile Saver, RenderThread, queued-work-loo, LoopThread, Thread-2, Thread-3, Thread-4, Thread-5, Thread-6, Thread-7, Thread-8, Thread-9, Thread-10, Thread-11, Thread-12, Thread-13, Thread-14, Thread-15, Thread-16, Thread-17, Thread-18, Thread-19, Thread-20, Thread-21, Thread-22, Thread-23, Thread-24, Thread-25, Thread-26, Thread-27, Thread-28, Thread-29, Thread-30, Thread-31, Thread-32, Thread-33, Thread-34, Thread-35, Thread-36, Thread-37, Thread-38, Thread-39, Thread-40, Thread-41, Thread-42, Thread-43, Thread-44, Thread-45, Thread-46, Thread-47, Thread-48, Thread-49, Thread-50, Thread-51, Thread-52, Thread-53, Thread-54, Thread-55, Thread-56, Thread-57, Thread-58, Thread-59, Thread-60, Thread-61, Thread-62, Thread-63, Thread-64, Thread-65, Thread-66, Thread-67, Thread-68, Thread-69, Thread-70, Thread-71, Thread-72, Thread-73, Thread-74, Thread-75, Thread-76, Thread-77, Thread-78, Thread-79, Thread-80, Thread-81, Thread-82, Thread-83, Thread-84, Thread-85, Thread-86, Thread-87, Thread-88, Thread-89, Thread-90, Thread-91, Thread-92, Thread-93, Thread-94, Thread-95, Thread-96, Thread-97, Thread-98, Thread-99, Thread-100, Thread-101, Thread-102, Thread-103, Thread-104, Thread-105, Thread-106, Thread-107, Thread-108, Thread-109, Thread-110, Thread-111, Thread-112, Thread-113, Thread-114, Thread-115, Thread-116, Thread-117, Thread-118, Thread-119, Thread-120, Thread-121, Thread-122, Thread-123, Thread-124, Thread-125, Thread-126, Thread-127, Thread-128, Thread-129, Thread-130, Thread-131, Thread-132, Thread-133, Thread-134, Thread-135, Thread-136, Thread-137, Thread-138, Thread-139, Thread-140, Thread-141, Thread-142, Thread-143, Thread-144, Thread-145, Thread-146, Thread-147, Thread-148, Thread-149, Thread-150, Thread-151, Thread-152, Thread-153, Thread-154, Thread-155, Thread-156, Thread-157, Thread-158, Thread-159, Thread-160, Thread-161, Thread-162, Thread-163, Thread-164, Thread-165, Thread-166, Thread-167, Thread-168, Thread-169, Thread-170, Thread-171, Thread-172, Thread-173, Thread-174, Thread-175, Thread-176, Thread-177, Thread-178, Thread-179, Thread-180, Thread-181, Thread-182, Thread-183, Thread-184, Thread-185, Thread-186, Thread-187, Thread-188, Thread-189, Thread-190, Thread-191, Thread-192, Thread-193, Thread-194, Thread-195, Thread-196, Thread-197, Thread-198, Thread-199, Thread-200, Thread-201, Thread-202, Thread-203, Thread-204, Thread-205, Thread-206, Thread-207, Thread-208, Thread-209, Thread-210, Thread-211, Thread-212, Thread-213, Thread-214, Thread-215, Thread-216, Thread-217, Thread-218, Thread-219, Thread-220, Thread-221, Thread-222, Thread-223, Thread-224, Thread-225, Thread-226, Thread-227, Thread-228, Thread-229, Thread-230, Thread-231, Thread-232, Thread-233, Thread-234, Thread-235, Thread-236, Thread-237, Thread-238, Thread-239, Thread-240, Thread-241, Thread-242, Thread-243, Thread-244, Thread-245, Thread-246, Thread-247, Thread-248, Thread-249, Thread-250, Thread-251, Thread-252, Thread-253, Thread-254, Thread-255, Thread-256, Thread-257, Thread-258, Thread-259, Thread-260, Thread-261, Thread-262, Thread-263, Thread-264, Thread-265, Thread-266, Thread-267, Thread-268, Thread-269, Thread-270, Thread-271, Thread-272, Thread-273, Thread-274, Thread-275, Thread-276, Thread-277, Thread-278, Thread-279, Thread-280, Thread-281, Thread-282, Thread-283, Thread-284, Thread-285, Thread-286, Thread-287, Thread-288, Thread-289, Thread-290, Thread-291, Thread-292, Thread-293, Thread-294, Thread-295, Thread-296, Thread-297, Thread-298, Thread-299, Thread-300, Thread-301, Thread-302, Thread-303, Thread-304, Thread-305, Thread-306, Thread-307, Thread-308, Thread-309, Thread-310, Thread-311, Thread-312, Thread-313, Thread-314, Thread-315, Thread-316, Thread-317, Thread-318, Thread-319, Thread-320, Thread-321, Thread-322, Thread-323, Thread-324, Thread-325, T
2024-02-27 11:17:30.847 12889-12940 OOMMonitor com.kwai.koom.demo I OOMPreferenceManager.getFirstAnalysisTime():1709003366019
2024-02-27 11:17:30.847 12889-12940 OOMMonitor com.kwai.koom.demo I OOMPreferenceManager.getAnalysisTimes:4
2024-02-27 11:17:30.849 12889-13644 OOMMonitor com.kwai.koom.demo I mTrackReasons:[reason_thread_oom]
2024-02-27 11:17:30.850 12889-13644 OOMMonitor com.kwai.koom.demo I dumpAndAnalysis
2024-02-27 11:17:30.852 12889-13645 OOMMonitor com.kwai.koom.demo I processHprofFile
2024-02-27 11:17:30.852 12889-13645 OOMMonitor com.kwai.koom.demo I delete other version files thread
2024-02-27 11:17:30.863 12889-13645 OOMMonitor com.kwai.koom.demo I delete old files
2024-02-27 11:17:30.871 12889-13644 OOMMonitor com.kwai.koom.demo I hprof analysis dir:/storage/emulated/0/Android/data/com.kwai.koom.demo/files/performance/oom/memory/hprof-aly
2024-02-27 11:17:30.872 12889-13644 OOMMonitor...HeapDumper com.kwai.koom.demo I dump /storage/emulated/0/Android/data/com.kwai.koom.demo/files/performance/oom/memory/hprof-aly/1.0.0_2024-02-27_11-17-30_851.hprof
2024-02-27 11:17:30.894 12889-13644 OOMMonitor...HeapDumper com.kwai.koom.demo I before suspend and fork.
2024-02-27 11:17:30.954 12889-13645 OOMMonitor com.kwai.koom.demo I delete other version files fd
---------------------------- PROCESS STARTED (13646) for package com.kwai.koom.demo ----------------------------
2024-02-27 11:17:32.199 13646-13646 OOMMonitor...HeapDumper com.kwai.koom.demo I dump, spend:1305
2024-02-27 11:17:32.206 12889-13644 OOMMonitor...HeapDumper com.kwai.koom.demo I parent process wait time: 1312
2024-02-27 11:17:32.206 12889-13644 OOMMonitor...HeapDumper com.kwai.koom.demo I dump true, notify from pid 13646
2024-02-27 11:17:32.206 12889-13644 OOMMonitor com.kwai.koom.demo I end hprof dump
---------------------------- PROCESS ENDED (13646) for package com.kwai.koom.demo ----------------------------
|