views:

31

answers:

2

I want to create huge persistent objects and then draw random images as well on BB.

Can you help me on this, how do I create huge objects.

A: 

I think you need to clarify the problem a little more. What exactly do you mean by "huge objects"?

Kevin Hwang
A: 

Yeah, more detail would help.

If I parse your request properly, you just want to create a bunch of big objects and ensure they stick around, suggest creating suitably large arrays of int[] and sticking them in a Set<int[]> or something.

But, why?

andersoj
I want to do a survey on device performance on BlackBerry VS Android
That's a laudable goal, but a microbenchmark of memory management performance will be highly suspect. I suggest looking for scalable/stressful application workloads or time-tested benchmarks rather than a roll-your-own memory allocator.
andersoj