title: GAE Go - "This request caused a new process to be started for your application..."
body: <p>I've encountered this problem for a second time now, and I'm wondering if there is any solution to this. I'm running an application on Google App Engine that relies on frequent communication with a website through <a href="https://github.com/ThePiachu/Go-HTTP-JSON-RPC/blob/master/gaehttpjsonrpc/gaehttpjsonrpcClient.go" rel="noreferrer">HTTP JSON RPC</a>. It appears that GAE has a tendency to randomly display a message like this in the logs:</p>
  <blockquote>
  <p>&quot;This request caused a new process to be started for your application,
  and thus caused your application code to be loaded for the first time.
  This request may thus take longer and use more CPU than a typical
  request for your application.&quot;</p>
  </blockquote>
  <p>And reset all variables stored in RAM without warning. The same process happens over and over no matter how many times I set the variables again or upload newer code to GAE, although incrementing the app version number seems to solve the problem.</p>
  <p>How can I get more information on this behaviour, how to avoid it and prevent data loss of my Golang applications on Google App Engine?</p>
  <p>EDIT:</p>
  <p>The variables stored in RAM are small classes of strings, bytes, bools and pointers. Nothing too complicated or big.</p>
  <p>Google App Engine seems to &quot;start a new process&quot; in matter of seconds of heavier use, which shouldn't be long enough time for the application to be shut down for not being used. The timespan between application being uploaded to GAE, having its variable set and a new process being created is less than a minute.</p>