memory

Java process's memory grows indefinitely, but MemoryMXBean reports stable heap and non-heap size

久未见 提交于 2020-12-30 05:16:23
问题 I am working with a team developing a Java GUI application running on a 1GB Linux target system. We have a problem where the memory used by our java process grows indefinitely, until Linux finally kills the java process. Our heap memory is healthy and stable. (we have profiled our heap extensively) We also used MemoryMXBean to monitor the application's non heap memory usage, since we believed the problem might lie there. However, what we see is that reported heap size + reported non heap size

Java process's memory grows indefinitely, but MemoryMXBean reports stable heap and non-heap size

与世无争的帅哥 提交于 2020-12-30 05:12:01
问题 I am working with a team developing a Java GUI application running on a 1GB Linux target system. We have a problem where the memory used by our java process grows indefinitely, until Linux finally kills the java process. Our heap memory is healthy and stable. (we have profiled our heap extensively) We also used MemoryMXBean to monitor the application's non heap memory usage, since we believed the problem might lie there. However, what we see is that reported heap size + reported non heap size

Java process's memory grows indefinitely, but MemoryMXBean reports stable heap and non-heap size

杀马特。学长 韩版系。学妹 提交于 2020-12-30 05:11:29
问题 I am working with a team developing a Java GUI application running on a 1GB Linux target system. We have a problem where the memory used by our java process grows indefinitely, until Linux finally kills the java process. Our heap memory is healthy and stable. (we have profiled our heap extensively) We also used MemoryMXBean to monitor the application's non heap memory usage, since we believed the problem might lie there. However, what we see is that reported heap size + reported non heap size

Java process's memory grows indefinitely, but MemoryMXBean reports stable heap and non-heap size

老子叫甜甜 提交于 2020-12-30 05:11:18
问题 I am working with a team developing a Java GUI application running on a 1GB Linux target system. We have a problem where the memory used by our java process grows indefinitely, until Linux finally kills the java process. Our heap memory is healthy and stable. (we have profiled our heap extensively) We also used MemoryMXBean to monitor the application's non heap memory usage, since we believed the problem might lie there. However, what we see is that reported heap size + reported non heap size

Java process's memory grows indefinitely, but MemoryMXBean reports stable heap and non-heap size

为君一笑 提交于 2020-12-30 05:11:10
问题 I am working with a team developing a Java GUI application running on a 1GB Linux target system. We have a problem where the memory used by our java process grows indefinitely, until Linux finally kills the java process. Our heap memory is healthy and stable. (we have profiled our heap extensively) We also used MemoryMXBean to monitor the application's non heap memory usage, since we believed the problem might lie there. However, what we see is that reported heap size + reported non heap size

Java process's memory grows indefinitely, but MemoryMXBean reports stable heap and non-heap size

删除回忆录丶 提交于 2020-12-30 05:10:51
问题 I am working with a team developing a Java GUI application running on a 1GB Linux target system. We have a problem where the memory used by our java process grows indefinitely, until Linux finally kills the java process. Our heap memory is healthy and stable. (we have profiled our heap extensively) We also used MemoryMXBean to monitor the application's non heap memory usage, since we believed the problem might lie there. However, what we see is that reported heap size + reported non heap size

Is there a way to flush the entire CPU cache related to a program?

荒凉一梦 提交于 2020-12-29 12:08:36
问题 On x86-64 platforms, the CLFLUSH assembly instruction allows to flush the cache line corresponding to a given address. Instead of flushing the cache related to a specific address, would there be a way to flush the entire cache (either the cache related to the program being executed, or the entire cache), for example by making it full of dummy contents (or any other approach I would not be aware of): using only standard C++17? using standard C++17 and compiler intrinsics if necessary? What

Is there a way to flush the entire CPU cache related to a program?

亡梦爱人 提交于 2020-12-29 12:00:17
问题 On x86-64 platforms, the CLFLUSH assembly instruction allows to flush the cache line corresponding to a given address. Instead of flushing the cache related to a specific address, would there be a way to flush the entire cache (either the cache related to the program being executed, or the entire cache), for example by making it full of dummy contents (or any other approach I would not be aware of): using only standard C++17? using standard C++17 and compiler intrinsics if necessary? What

What is transactional memory?

情到浓时终转凉″ 提交于 2020-12-28 07:01:27
问题 I'm confused because from reading the wiki page it seems like just having a checkValidate and commit system for loads and stores. Is the purpose to solve synchronization problems? Is it a software programming thing build on-top of current hardware, or is it a hardware implementation via an ISA? What's the difference between each (HW/SW) implementation? Thanks. 回答1: Transactional Memory is the concept of using transactions rather than locks to synchronise processes that execute in parallel and

What is transactional memory?

生来就可爱ヽ(ⅴ<●) 提交于 2020-12-28 07:01:23
问题 I'm confused because from reading the wiki page it seems like just having a checkValidate and commit system for loads and stores. Is the purpose to solve synchronization problems? Is it a software programming thing build on-top of current hardware, or is it a hardware implementation via an ISA? What's the difference between each (HW/SW) implementation? Thanks. 回答1: Transactional Memory is the concept of using transactions rather than locks to synchronise processes that execute in parallel and