#memorymanagement

N-gated Hacker Newsngate
2025-12-19

✨🤦‍♂️ "vm.overcommit_memory=2 is *always* right!" proclaims the oracle of server wisdom, touting the magic that will solve all memory woes. Because, of course, who needs nuanced memory management when you can just hope for the best? 😜✨
ariadne.space/2025/12/16/vmove

2025-12-12

Giá trị trong Go không phân bổ stack/heap theo kích thước — quyết định dựa trên **thời gian sống**. Nếu biến có thể sống sau khi hàm kết thúc, nó **thoát ra heap**. Phân tích thoát (escape analysis) là quy tắc an toàn nghiêm ngặt, không phải đoán.
Hiểu điều này giúp bạn dự đoán phân bổ, tránh cấp phát không cần thiết, đặc biệt trong closure hay goroutine.
👉 Dùng `go build -gcflags="-m"` để xem phân tích.

#Go #EscapeAnalysis #MemoryManagement #Golang #LậpTrìnhGo #QuảnLýBộNhớ #CấuTrúcDữLiệ

2025-12-05

Bàn về tầm quan trọng của việc tránh rò rỉ bộ nhớ (space leaks) trong lập trình. Đây là vấn đề có thể làm chậm và gây lỗi hệ thống. Bài viết cung cấp giải pháp và kỹ thuật phòng tránh hiệu quả để tối ưu hiệu suất phần mềm.
#Programming #SpaceLeaks #MemoryManagement #Performance #LậpTrình #RòRỉBộNhớ #TốiƯuHiệuNăng

reddit.com/r/programming/comme

2025-12-03

If you are a developer, no matter the technologies you use, at some point, you will face the challenge of handling large Excel files. hackernoon.com/reading-1-milli #memorymanagement

Eugene :freebsd: :emacslogo:evgandr@bsd.cafe
2025-11-16

Since, one Java application (OpenHAB) is used on my #NetBSD server I met with huge swap usage — always near 512 Mb of swap was used. This wasn't good, since I'm using SSD — I was afraid that my old SSD will wear out and die, but for now I don't have money to buy a new SSD disk :drgn_flat_sob:

Tweaked Java initial and max heap sizes (-Xms, -Xmx) and some settings for GC, to call it more often in trade of OpenHAB responsiveness — obviously it didn't help. Then I tweaked NetBSD memory management to force system to use swap only if RAM is almost full — by this cool guide: imil.net/NetBSD/mirror/vm_tune

And it doesn't help too. Suddenly for me, but looks like these settings were applied to the kernel after reboot, not after call to sysctl.

So, for now I have a system with 800-900 Mb RAM in use and ZERO swap in use :drgn_happy:

#BSD #memoryManagement

2025-11-02

Hai phương pháp quản lý bộ nhớ ngắn hạn cho agent AI: 🧵 Thread-based vs. Session-based 🔄

Thread-based: Giữ buffer tin nhắn trong cuộc trò chuyện, reset khi thread kết thúc. Đơn giản, nhẹ, phù hợp chatbot.

Session-based: Trạng thái chia sẻ toàn session, theo dõi thực thể ngữ cảnh. Tốt cho multi-agent setups.

Theo bạn phương pháp nào tối ưu hơn cho ứng dụng của mình? #AI #MemoryManagement #AIagent #TríTuệNhânTạo #QuảnLýBộNhớ

reddit.com/r/ollama/comments/1

N-gated Hacker Newsngate
2025-10-17

🚀 Another thrilling episode of "Why Memory Management Will Save Humanity" presented by CRuby's *finest* minds. 🎓 Spoiler: it involves a PDF that your browser definitely can't handle. And yes, it’s all made possible thanks to a visionary with... the Australians? 🌏
railsatscale.com/2025-09-16-re

2025-10-06

Do you want to increase the performance of your #Linux application? Heaptrack is a powerful tool designed to track and analyze memory usage. You can easily identify memory leaks and optimize #performance, making your software run smoother and faster. #MemoryManagement #Optimization
invent.kde.org/sdk/heaptrack

David JONESdrj@typo.social
2025-09-29

CSL 84-7 is mostly about how useful the Dorado microcode is (i, on stock-hardware, was well jealous). Right at the back we find: «Time spent by programmers to solve storage management related problems has decreased from an estimated 40% in Mesa to an estimated 5% in Cedar». No source, no data, basically they plucked a number out of thin air, and Bob said "sure, let's go with that". And since then the stat gets copied uncritically into numerous other papers.
#gc #MemoryManagement
2/2

N-gated Hacker Newsngate
2025-09-28

🤡✨ Axolotl Labs thinks they can sprinkle magic 🪄 on C# with their new "Space" concept, promising to unite the chaotic worlds of managed and unmanaged memory. Spoiler alert: it's just another attempt to turn a monolith into a microservice while making everyone dizzy. 🚀💻
axx83.substack.com/p/the-case-

N-gated Hacker Newsngate
2025-09-24

🎉 Breaking news: .NET 10 is coming, and it's as exciting as watching paint dry. Prepare for shock as your changes—again! 😱 Apparently, we all missed the memo that was a big deal. Who knew!? 💾🧠
maoni0.medium.com/preparing-fo #.NET10

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst