Hey Max,
Took a heap dump using two different scenarios. In test 1, I set the -
Xmx to 100M, and in test 2 I set the max to 512M, and am comparing the
difference between the number of objects across the two memory
scenarios. In my code, I'm running a for-loop that executes 5000
times, and most
I get this issue pretty often too, although my experience is that you
likely have an issue with one of your entities (sometimes your entity
can be properly coded, but there could be a fluke with how DataNucleus
+GAE interpret a particular feature/annotation, especially with
JPA).
For example, I
you're bumping into. Have you tried taking a heap
dump to see what exactly is building up?
On Fri, Mar 12, 2010 at 1:27 PM, David Fuelling sappe...@gmail.com wrote:
I have a JUnit test class that is attempting to test some JPA
datastore create operations, and I'm getting results that *seem
I'm trying to use a named TaskQueue in my app as follows, but am
unable to use a named-queue. Here's my code:
Queue queue = QueueFactory.getQueue(named-queue);
TaskOptions to = TaskOptions.Builder.param(param, paramValue);
to = to.url(/queues/named-queue-runner);
queue.add(to);
Upon calling
Hi Wesley,
Thanks for the heads up. Any reason an empty-String cannot be used
for a Link? I was coding defensively by making all Link object
default to an empty String (since in order to do anything with them I
need to constantly be calling the getValue() function on the Link).
Now, I have to
Hi,
I responded directly to your email with out app-id. Any ideas?
Thanks!
david
On Dec 28 2009, 10:39 pm, Ikai L (Google) ika...@google.com wrote:
What is your application ID?
On Tue, Dec 22, 2009 at 2:18 PM, David Fuelling sappe...@gmail.com wrote:
Hello,
I am getting an error
Is there a special trick to viewing the DataNucelus enhancer log in
Windows Vista? In my {$USER}\AppData\Local\Temp directory I see new
files like enhance5972975064635271229.log get created whenever the
enhancer runs, but they're always empty.
Am I looking in the wrong spot? Also, I have my
You could setup a cron job to hit a servlet every minute to keep your
container alive. That way your app is always fresh (unless you get
so much traffic that new instances need to spawn up for scaling
purposes).
david
On Jan 5, 2:52 pm, Todd Lindner todd.lind...@gmail.com wrote:
Since Google
I've been testing out Spring Security 3.0 combined with RPX from
Janrain. Basically I can authenticate via Google, Facebook, Twitter,
OpenID, Yahoo, Live, etc.
Works great (although startup is a bit slower than normal due to
Spring -- using the precompile option helps).
On Dec 22, 6:02 am,
Kind of an involved question, but I'm wondering if it's possible to
use the parent-key pattern with JPA to search for N child entities
of a given parent that have a particular property. I can get this to
work if I include the parent object in my child entity, but I'd like
it to work when I just
I'm pretty sure my issue is a bug, but upon further reflection I
figured I'd bring it to light here in the discussion groups just to be
sure.
Here's the issue, with test code:
http://code.google.com/p/googleappengine/issues/detail?id=2541
Basically, I'm trying to model a User entity that has
Thanks Max, that fixed my problem with the inheritence.
One other question: What version of the ORM code is currently
included in the 1.2.8 SDK? I only ask because I noticed that the
release notes for ORM VERSION 1.0.4 Final includes Support
datastore cursors, and am wondering if that is
I'm running some JUnit tests to excercise my data-layer classes using
the TestEnvironment patter implementing ApiProxy.Environment (i.e., so
I can test my code's datastore operations inside of JUnit).
The tests run fine, except when I try to interact with the Statistics
from inside of a test.
Sorry for not clarifying -- my example is all JPA, and the import
statements in my code imply the following:
@javax.persistence.OneToOne
@javax.persistence.Embedded
On Dec 11, 5:06 am, Rusty Wright rwright.li...@gmail.com wrote:
Are you mixing ORMs? �...@onetoone is JPA and @Embedded is JDO?
Hmm...looks like I'm not using @MappedSuperclass in my abstract parent
class. I'll give that a try and see if it fixes things.
On Dec 9, 8:27 pm, David Fuelling sappe...@gmail.com wrote:
Thanks Max! Just updated to 1.2.8 and ran into this problem. The
workaround looks good, though I think
I have an entity with a ListString in it as follows:
@OneToOne(fetch = FetchType.LAZY)
@Embedded
public SetString getWords()
{
return words;
}
public void setWords(SetString words)
{
this.words = words;
Thanks Max! Just updated to 1.2.8 and ran into this problem. The
workaround looks good, though I think you specified the boolean value
wrong if you want to disable this error. Should be:
property
name=datanucleus.appengine.multipleRelationsOfSameTypeAreErrors
value=false/
In my case, the app
Bump.
I'm running into this same exact problem -- I have the same type of
entity setup, and am do a key-only query on a non-root object. Also
getting the same exact Illegal argument error. I get the error
whether I'm running in a transaction or not (which is strange -- I
have my property
datanucleus.appengine.autoCreateDatastoreTxns to).
So, given that this is a simple keys-only query scenario (i.e., no
entity manipulation or updating is going on), why is the DataNucleus/
JPA code trying to make some updates to entity Date fields (thus
triggering a transaction exception)?
Thoughts?
On Oct 30, 2:48 pm, David Fuelling sappe
I'm testing some code that mirrors the JPA batch-get example on this
page (http://gae-java-persistence.blogspot.com/2009/10/executing-batch-
gets.html).
I start off with a list of 10 Keys (these happen to be in numerical
order starting from Message(1) to Message(10)). When I execute the
I was also getting this error after upgrading to 1.2.5, except that in
my case the javax.jdo.JDODetachedFieldAccessException was happening
when I tried to access a simple
'com.google.appengine.api.datastore.Text' field on a Detached object
(Datanucleus must be treating Enumerated fields like a
Hi,
In other threads on this forum I've read that the Datastore can handle
between 1 and 10 Writes per Second for an Entity (or Entity Group).
I'm wondering if there's a similar bottleneck for reads-ueries in the
datastore. Does anyone know what the max number of Reads I should
expect is?
22 matches
Mail list logo