memory

Scala: How to give SBT more memory (RAM) to work with

As a brief note, I was trying to run a Scala application inside SBT today and kept getting this “out of memory” error:

[error] (run-main-0) java.lang.OutOfMemoryError: GC overhead limit exceeded
java.lang.OutOfMemoryError: GC overhead limit exceeded

The solution to the problem was to allocate more memory when I start SBT. To give SBT more RAM I first issue this command at the command line:

“I remember when I was three years old”

“Even when I was just three years old, I could recall many previous lives. But to many people this sort of thinking isn’t acceptable, so now when I’m asked what I can remember, I just say ‘I remember when I was three years old.’”

~ a monk

Android flashcards

One thing I learned about ten years ago is that when I need to memorize things, flashcards work really well for me. More recently, because I often bounce between many technologies, I have been making flashcards as a way of bringing me back up to speed after I’ve been away from a technology for a while.

The image shows one example of this, where I created a stack of flashcards to help me remember/relearn Android, which I haven’t used in several months. In this case I also have my Android cheat sheet to fall back on, but even then I still like using the flashcards. I think the theory is that rather than reading something passively, flashcards force you to try to recall something, and that’s a much more active way of using your brain and memory.

I wonder what else I did

A strange thing about the illness I’ve gone through is that I don’t have any memory of certain events.

For example — from what I can gather — during my worst time(s) I wrote this Collection of ScalaTest BDD examples using FunSpec tutorial, but I have no memory of writing it. I know that I wrote it because (a) it’s my writing style and (b) it’s on my website, but other than that, I have no recall of it. None. Zilch.

For a little while that bothered me, but now I look at it as something that’s interesting. I think it’s weird/amazing that I could write a tutorial and have no memory of writing it (or the process of researching it), but I guess that’s how the brain can work when things are screwed up. During the same time I also wrote this note to “buy some december at the grocery store,” so I know my brain was definitely going out to lunch at times.

I can see how this can be frustrating for people with chronic memory problems, but at the moment I look at it more as a mystery, like, “Huh, well, I wonder what else I did during that time?”