memory-leaks

Winforms: Scrollable FlowLayoutPanel with thousands of user controls - How to prevent memory leaks and dispose objects the right way? [closed]

梦想的初衷 提交于 2020-12-31 01:43:16
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 4 years ago . Improve this question I am relatively new to windows form programming. I am developing a windows form application which requires user to scroll through the form (I have used a FlowLayoutPanel with AutoScroll=True inside the form). The Panel's source contains an user control which

Winforms: Scrollable FlowLayoutPanel with thousands of user controls - How to prevent memory leaks and dispose objects the right way? [closed]

守給你的承諾、 提交于 2020-12-31 01:36:39
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 4 years ago . Improve this question I am relatively new to windows form programming. I am developing a windows form application which requires user to scroll through the form (I have used a FlowLayoutPanel with AutoScroll=True inside the form). The Panel's source contains an user control which

NSCollectionView memory leak in High Sierra?

依然范特西╮ 提交于 2020-12-30 07:33:21
问题 I have noticed a memory leak in NSCollectionView through Instruments. When I track down to the code, it shows the specific line below: collectionView.makeItem(withIdentifier: identifier, for: indexPath) as? DisplayableCellProtocol Then I looked it in Xcode, memory debugger, and find out there are some non-referenced items that caused the leak. However, not all items created by makeItem is leaking, some of them are normal, but some are not even shown. Managed normal unleaked item is like this

NSCollectionView memory leak in High Sierra?

血红的双手。 提交于 2020-12-30 07:31:58
问题 I have noticed a memory leak in NSCollectionView through Instruments. When I track down to the code, it shows the specific line below: collectionView.makeItem(withIdentifier: identifier, for: indexPath) as? DisplayableCellProtocol Then I looked it in Xcode, memory debugger, and find out there are some non-referenced items that caused the leak. However, not all items created by makeItem is leaking, some of them are normal, but some are not even shown. Managed normal unleaked item is like this

NSCollectionView memory leak in High Sierra?

依然范特西╮ 提交于 2020-12-30 07:31:44
问题 I have noticed a memory leak in NSCollectionView through Instruments. When I track down to the code, it shows the specific line below: collectionView.makeItem(withIdentifier: identifier, for: indexPath) as? DisplayableCellProtocol Then I looked it in Xcode, memory debugger, and find out there are some non-referenced items that caused the leak. However, not all items created by makeItem is leaking, some of them are normal, but some are not even shown. Managed normal unleaked item is like this

NSCollectionView memory leak in High Sierra?

元气小坏坏 提交于 2020-12-30 07:30:18
问题 I have noticed a memory leak in NSCollectionView through Instruments. When I track down to the code, it shows the specific line below: collectionView.makeItem(withIdentifier: identifier, for: indexPath) as? DisplayableCellProtocol Then I looked it in Xcode, memory debugger, and find out there are some non-referenced items that caused the leak. However, not all items created by makeItem is leaking, some of them are normal, but some are not even shown. Managed normal unleaked item is like this

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