Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
(Development Server + Bulkloader) == Resource Hog ?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Bernhard P.  
View profile  
 More options Mar 19 2011, 5:10 am
From: "Bernhard P." <bernhard.pxx...@gmail.com>
Date: Sat, 19 Mar 2011 02:10:12 -0700 (PDT)
Local: Sat, Mar 19 2011 5:10 am
Subject: (Development Server + Bulkloader) == Resource Hog ?
I have made many attempts to import a large set ot entities
(1.000.000) from a .csv file (14 MB) into the local datastore of the
development server.

All entities are of one very simple kind which has just one string
property. The values are rather small too:

key name values: 1 - 1000000, e.g. "1000"
property values: strings with exactly 6 characters, e.g. "qttrqg"

After the bulkloader has worked for some time info(/error) messages
appear on the command line:
[INFO    ] [Thread-9] Backing off due to errors: 1.0 seconds

There are no further messages in the bulkloader log explaining those
"errors" nor does the development server output any error message.

While searching for a clue I realized that the JVM of the development
server was using over 512 MB of memory with memory consumption
increasing rapidly while the bulkloader is running. After increasing
the limit (VM argument -Xmx) to 1024 MB and after that to 2 GB the
same errors still appear albeit later.

In my last attempt the errors started when the JVM was using about 1,4
GB of memory.
Some bulkloader numbers after stopping the server:
[INFO    ] 406400 entities (37193549 bytes) transferred in 1291.9
seconds
The local datastore file (local_db.bin) has a size of 117 MB.

Can somebody confirm this behaviour? Is the development server not
able to handle such amounts of data?

Google App Engine Java SDK 1.4.2.v201102111811, running the server
inside Eclipse.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ikai Lan (Google)  
View profile  
 More options Mar 23 2011, 8:26 pm
From: "Ikai Lan (Google)" <ika...@google.com>
Date: Wed, 23 Mar 2011 17:26:10 -0700
Local: Wed, Mar 23 2011 8:26 pm
Subject: Re: [appengine-java] (Development Server + Bulkloader) == Resource Hog ?

The development server datastore stub is an in memory Map that is persisted
to disk. Performance in the local server is not generally indicative of
performance in the live system. I'd suggest using a smaller number of
entities or doing this type of testing against a live application running on
appspot.com.

Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine

On Sat, Mar 19, 2011 at 2:10 AM, Bernhard P. <bernhard.pxx...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »