---
title: "Discussion on \"Playing with Java Out Of Memory Exception\" | Hashnode"
description: "Discussion on \"Playing with Java Out Of Memory Exception\". I was recently trying to simulate java.lang.OutOfMemoryError in my local. This was to learn and also understand how to deal with them in case they happen in our Togai production environment\nMy idea was to run a code that takes up a lot of memory in t..."
url: "https://hashnode.com/posts/playing-with-java-out-of-memory-exception/64bfe96bbf5ab5e0c866d11d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Playing with Java Out Of Memory Exception](https://karuppiah.dev/playing-with-java-out-of-memory-exception?utm_source=hashnode&utm_medium=feed)

I was recently trying to simulate java.lang.OutOfMemoryError in my local. This was to learn and also understand how to deal with them in case they happen in our Togai production environment My idea was to run a code that takes up a lot of memory in t...

Jul 25, 2023 · 8 min read · karuppiah.dev  
Updated Oct 16, 2023  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#exceptionhandling](https://hashnode.com/tag/exceptionhandling)
-   [#memory](https://hashnode.com/tag/memory)
-   [#memory-leak](https://hashnode.com/tag/memory-leak)
-   [#devops](https://hashnode.com/tag/devops)

## Written by

[Karuppiah Natarajan](https://hashnode.com/@karuppiah7890)

@karuppiah7890 · Chennai, India

  
[View profile](https://hashnode.com/@karuppiah7890)

Software Developer

I like learning new stuff - anything, including technology. I love tinkering with new tools, systems and services, especially open source projects

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
