We have a terrible experience with gae go. When our app was a free one, we never had problem with Exceeded soft private memory limit. We hit over quota thus we decided to pay. Our daily budget is set to $3. After the activation of the paid service, we were able to use the site again and the over quota was gone away. Few hours later, we got this Exceeded soft private memory limit and could no longer see anything but this. I have tried to clear few big data in datastore, disable the built ins and still no luck.
I made some test in the code as to where the fault is coming from. Removing the datastore access code, made the site up again. So my conclusion is accessing datastore even just to fetch very few entities would raised an error like this. We a bit hopeless. We opted to use appspot to leverage the technology but we get this asn we cant move on to the development.
Below is just the code that raise this kind of error.
q := datastore.NewQuery("Course")
courses := make([]courseData, 0)
if keys, err := q.GetAll(c, &courses); err != nil {
http.Error(w, err.Error(), http.StatusInternalServerError)
return
} else {
for i := range courses {
courses[i].Key = keys[i]
}
}
Any help that you could extend to us would be highly appreciated. Thank you in advance.