#memory-management

[ follow ]
fromInfoWorld
2 days ago

What is the JVM? Introducing the Java virtual machine

The JVM has two primary functions: to allow Java programs to run on any device or operating system (known as the "write once, run anywhere" principle), and to manage and optimize program memory. When Java was released in 1995, all computer programs were written to a specific operating system, and program memory was managed by the software developer. It's not hard to see why the JVM was a revelation in that era.
Software development
Wearables
fromZDNET
2 days ago

Samsung watch running slow? This simple trick made mine feel like new again

Clearing the Galaxy Watch cache can remove corrupted or outdated temporary data to restore performance, reduce freezes, and improve battery life.
Python
fromThepythoncodingstack
6 days ago

When You No Longer Need That Object * Dealing With Garbage in Python

CPython automatically reclaims unused objects via garbage collection and calls __del__() as a finaliser just before object destruction.
Web development
fromInfoQ
1 month ago

.NET 10 Preview 6 Introduces Blazor Enhancements, Memory Optimization, and SDK Improvements

Microsoft has released the sixth preview of .NET 10, enhancing performance and developer experience across various components.
#javascript
fromMatt Layman
1 month ago

Enhancing Chatbot State Management with LangGraph Matt Layman

The first step involved launching the chatbot server with a MemorySaver checkpointer to persist the bot's state between interactions, allowing it to remember user details.
Python
#ai-agents
fromSitepoint
1 month ago

Understanding Memory Page Sizes on Arm64 - SitePoint

Larger memory page sizes can impact memory efficiency and performance, potentially leading to less efficient memory use if pages are not fully utilized.
Software development
Scala
fromMedium
2 months ago

Rust Is Great - But It's Not Scala, and That's What I Miss

Rust is safe and fast but lacks the expressive elegance found in Scala.
Digital life
fromInfoWorld
2 months ago

Alibaba Cloud launches Eigen+ to cut costs and boost reliability for enterprise databases

The new memory management system improves efficiency by 36% and eliminates service-disrupting OOM errors.
Tech industry
fromTechzine Global
2 months ago

Alibaba Cloud presents Memory over-subscription without risks

Efficient memory management in cloud databases improves performance and cost savings.
Eigen+ enables safe memory over-subscription by excluding unpredictable instances.
fromInfoWorld
2 months ago

Meet Zig: The modern alternative to C

Zig is a "close to the metal" language in that it allows developers to work directly with system memory, a requirement for writing code that can be maximally optimized to its task.
Software development
Scala
fromHackernoon
9 months ago

Related Work: vAttention in LLM Inference Optimization Landscape | HackerNoon

Efficient optimization of LLM inference is essential for reducing latency and improving performance in AI applications.
#large-language-models
fromHackernoon
2 months ago
Scala

KV-Cache Fragmentation in LLM Serving & PagedAttention Solution | HackerNoon

PagedAttention enhances memory allocation for large language models by dynamically managing KV-cache, reducing fragmentation and waste.
fromHackernoon
2 months ago
Artificial intelligence

Issues with PagedAttention: Kernel Rewrites and Complexity in LLM Serving | HackerNoon

PagedAttention requires significant modifications to application code, complicating the use of attention mechanisms in language models.
fromHackernoon
2 months ago
Artificial intelligence

Issues with PagedAttention: Kernel Rewrites and Complexity in LLM Serving | HackerNoon

DevOps
fromInfoQ
2 months ago

Beyond Objects and Functions: Exploring Data-Oriented Programming

Data-oriented programming (DOP) emphasizes efficient data management over traditional object-centric approaches for improved performance.
#java
fromInfoQ
2 months ago
Java

Java 25 Integrates Compact Object Headers with JEP 519

Java's new compact object headers significantly reduce memory overhead, improving efficiency for applications using small objects.
fromMedium
4 months ago
Scala

Exceptions are not free

Using exceptions for control flow can degrade performance due to stack trace generation.
Python
fromPyPy
2 months ago

How fast can the RPython GC allocate?

RPython GC can allocate objects efficiently in tight loops, requiring only 11 instructions on average.
fromInfoWorld
3 months ago

New to Rust? Don't make these common mistakes

When you're writing your first Rust programs, the complexities of ownership and borrowing can be dizzying. If all you want to do is write a simple program that doesn't need to be performant, Rust's memory management might seem intrusive.
Bootstrapping
Scala
fromHackernoon
5 months ago

Generic Functions on Slices: A Guide to Help You Understand | HackerNoon

The slices package enhances slice manipulation by using generics, allowing less code redundancy and clearer slice operations.
Node JS
fromPythonSpeed
3 months ago

Loading Pydantic models from JSON without running out of memory

Pydantic can dramatically increase memory usage when handling large JSON files, necessitating alternative solutions.
#kubernetes
fromMedium
4 months ago
DevOps

Why Swap on Kubernetes Isn't the Same as Swap on Linux-and What You Should Do Instead

fromMedium
4 months ago
DevOps

Why Swap on Kubernetes Isn't the Same as Swap on Linux-and What You Should Do Instead

fromMedium
4 months ago
DevOps

Why Swap on Kubernetes Isn't the Same as Swap on Linux-and What You Should Do Instead

fromMedium
4 months ago
DevOps

Why Swap on Kubernetes Isn't the Same as Swap on Linux-and What You Should Do Instead

fromMedium
4 months ago
DevOps

Why Swap on Kubernetes Isn't the Same as Swap on Linux-and What You Should Do Instead

fromMedium
4 months ago
DevOps

Why Swap on Kubernetes Isn't the Same as Swap on Linux-and What You Should Do Instead

[ Load more ]