Out of memory while downloading fixtures

Hi
I am trying to download fixtures for a group by using Restore from server
option.
After a bit, it gives me application error- javalang/ out-of-memory error .
Can you please help me with this ?
Im using Nokia C2-01. Tried running the app from both phone memory as well
as SD card.
( If the fixture is below 200kb, it is able to download properly)

Yasheth,

The amount of available memory on j2me is unfortunately fairly limited. The
way that fixtures are currently used requires a fair amount of it to be in
memory at once.

The restore itself streams from the file system, though, so the bottleneck
is the individual fixtures themselves. You can split up fixtures which
don’t need to be referenced in the same expression, which might help get
them under the limit.

-Clayton

··· On Wed, Oct 31, 2012 at 7:55 AM, yashseth wrote:

Hi
I am trying to download fixtures for a group by using Restore from server
option.
After a bit, it gives me application error- javalang/ out-of-memory error .
Can you please help me with this ?
Im using Nokia C2-01. Tried running the app from both phone memory as well
as SD card.
( If the fixture is below 200kb, it is able to download properly)

Thanks Clayton
I will try this out.

··· On Wednesday, October 31, 2012 10:47:17 PM UTC+5:30, Clayton Sims wrote: > > Yasheth, > > The amount of available memory on j2me is unfortunately fairly limited. > The way that fixtures are currently used requires a fair amount of it to be > in memory at once. > > The restore itself streams from the file system, though, so the bottleneck > is the individual fixtures themselves. You can split up fixtures which > don't need to be referenced in the same expression, which might help get > them under the limit. > > -Clayton > > On Wed, Oct 31, 2012 at 7:55 AM, yashseth <ya...@digitalgreen.org wrote: > >> Hi >> I am trying to download fixtures for a group by using Restore from server >> option. >> After a bit, it gives me application error- javalang/ out-of-memory error >> . >> Can you please help me with this ? >> Im using Nokia C2-01. Tried running the app from both phone memory as >> well as SD card. >> ( If the fixture is below 200kb, it is able to download properly) >> > >

Hi
Can you suggest how to split up the fixtures ?
I have 6 fixtures which I am using in my app.

··· On Thursday, November 1, 2012 11:11:23 AM UTC+5:30, yashseth wrote: > > Thanks Clayton > I will try this out. > > On Wednesday, October 31, 2012 10:47:17 PM UTC+5:30, Clayton Sims wrote: >> >> Yasheth, >> >> The amount of available memory on j2me is unfortunately fairly limited. >> The way that fixtures are currently used requires a fair amount of it to be >> in memory at once. >> >> The restore itself streams from the file system, though, so the >> bottleneck is the individual fixtures themselves. You can split up fixtures >> which don't need to be referenced in the same expression, which might help >> get them under the limit. >> >> -Clayton >> >> On Wed, Oct 31, 2012 at 7:55 AM, yashseth wrote: >> >>> Hi >>> I am trying to download fixtures for a group by using Restore from >>> server option. >>> After a bit, it gives me application error- javalang/ out-of-memory >>> error . >>> Can you please help me with this ? >>> Im using Nokia C2-01. Tried running the app from both phone memory as >>> well as SD card. >>> ( If the fixture is below 200kb, it is able to download properly) >>> >> >>

Yasheth,

It depends a lot on the structure, but often people’s fixtures are
heirarchical like:

<country id="foo>

which can be split up into three fixtures, referenced by the id captured by
the previous element.

It would help to know what all of your fixtures are doing and how they’re
being used.

-Clayton

··· On Thu, Nov 1, 2012 at 1:43 AM, yashseth wrote:

Hi
Can you suggest how to split up the fixtures ?
I have 6 fixtures which I am using in my app.

On Thursday, November 1, 2012 11:11:23 AM UTC+5:30, yashseth wrote:

Thanks Clayton
I will try this out.

On Wednesday, October 31, 2012 10:47:17 PM UTC+5:30, Clayton Sims wrote:

Yasheth,

The amount of available memory on j2me is unfortunately fairly limited.
The way that fixtures are currently used requires a fair amount of it to be
in memory at once.

The restore itself streams from the file system, though, so the
bottleneck is the individual fixtures themselves. You can split up fixtures
which don’t need to be referenced in the same expression, which might help
get them under the limit.

-Clayton

On Wed, Oct 31, 2012 at 7:55 AM, yashseth ya...@digitalgreen.orgwrote:

Hi
I am trying to download fixtures for a group by using Restore from
server option.
After a bit, it gives me application error- javalang/ out-of-memory
error .
Can you please help me with this ?
Im using Nokia C2-01. Tried running the app from both phone memory as
well as SD card.
( If the fixture is below 200kb, it is able to download properly)

Im using the following fixtures
Viilage
Activist
Person
Video
It is hierarchical and I’m already using them as separate fixtures being
referenced by ids.
Attaching a sample file.

Fixture_gulzar.xlsx (30.5 KB)

··· On Thu, Nov 1, 2012 at 7:26 PM, Clayton Sims wrote:

Yasheth,

It depends a lot on the structure, but often people’s fixtures are
heirarchical like:

<country id="foo>

which can be split up into three fixtures, referenced by the id captured
by the previous element.

It would help to know what all of your fixtures are doing and how they’re
being used.

-Clayton

On Thu, Nov 1, 2012 at 1:43 AM, yashseth yash@digitalgreen.org wrote:

Hi
Can you suggest how to split up the fixtures ?
I have 6 fixtures which I am using in my app.

On Thursday, November 1, 2012 11:11:23 AM UTC+5:30, yashseth wrote:

Thanks Clayton
I will try this out.

On Wednesday, October 31, 2012 10:47:17 PM UTC+5:30, Clayton Sims wrote:

Yasheth,

The amount of available memory on j2me is unfortunately fairly limited.
The way that fixtures are currently used requires a fair amount of it to be
in memory at once.

The restore itself streams from the file system, though, so the
bottleneck is the individual fixtures themselves. You can split up fixtures
which don’t need to be referenced in the same expression, which might help
get them under the limit.

-Clayton

On Wed, Oct 31, 2012 at 7:55 AM, yashseth ya...@digitalgreen.orgwrote:

Hi
I am trying to download fixtures for a group by using Restore from
server option.
After a bit, it gives me application error- javalang/ out-of-memory
error .
Can you please help me with this ?
Im using Nokia C2-01. Tried running the app from both phone memory as
well as SD card.
( If the fixture is below 200kb, it is able to download properly)

Yash Seth
Assistant Systems Engineer
V +91.11.41881037
M +91.9999069251
E* *yash@digitalgreen.org rikin@digitalgreen.org
O D6 & E6, Clarion Collection( The Qutab), Shaheed Jeet Singh Marg, New
Delhi-110016, India

www.digitalgreen.org

Can you split up the data regionally? IE: only send down the villages which
are relevant for each user?

-Clayton

··· On Thu, Nov 1, 2012 at 12:50 PM, Yash Seth wrote:

Im using the following fixtures
Viilage
Activist
Person
Video
It is hierarchical and I’m already using them as separate fixtures being
referenced by ids.
Attaching a sample file.

On Thu, Nov 1, 2012 at 7:26 PM, Clayton Sims csims@dimagi.com wrote:

Yasheth,

It depends a lot on the structure, but often people’s fixtures are
heirarchical like:

<country id="foo>

which can be split up into three fixtures, referenced by the id captured
by the previous element.

It would help to know what all of your fixtures are doing and how they’re
being used.

-Clayton

On Thu, Nov 1, 2012 at 1:43 AM, yashseth yash@digitalgreen.org wrote:

Hi
Can you suggest how to split up the fixtures ?
I have 6 fixtures which I am using in my app.

On Thursday, November 1, 2012 11:11:23 AM UTC+5:30, yashseth wrote:

Thanks Clayton
I will try this out.

On Wednesday, October 31, 2012 10:47:17 PM UTC+5:30, Clayton Sims wrote:

Yasheth,

The amount of available memory on j2me is unfortunately fairly
limited. The way that fixtures are currently used requires a fair amount of
it to be in memory at once.

The restore itself streams from the file system, though, so the
bottleneck is the individual fixtures themselves. You can split up fixtures
which don’t need to be referenced in the same expression, which might help
get them under the limit.

-Clayton

On Wed, Oct 31, 2012 at 7:55 AM, yashseth ya...@digitalgreen.orgwrote:

Hi
I am trying to download fixtures for a group by using Restore from
server option.
After a bit, it gives me application error- javalang/ out-of-memory
error .
Can you please help me with this ?
Im using Nokia C2-01. Tried running the app from both phone memory as
well as SD card.
( If the fixture is below 200kb, it is able to download properly)

Yash Seth
Assistant Systems Engineer
V +91.11.41881037
M +91.9999069251
E* *yash@digitalgreen.org rikin@digitalgreen.org
O D6 & E6, Clarion Collection( The Qutab), Shaheed Jeet Singh Marg, New
Delhi-110016, India

www.digitalgreen.org

Im doing that. Actually a user has 5 villages under him. I ve assigned
groups for this.

··· On Thu, Nov 1, 2012 at 10:59 PM, Clayton Sims wrote:

Can you split up the data regionally? IE: only send down the villages
which are relevant for each user?

-Clayton

On Thu, Nov 1, 2012 at 12:50 PM, Yash Seth yash@digitalgreen.org wrote:

Im using the following fixtures
Viilage
Activist
Person
Video
It is hierarchical and I’m already using them as separate fixtures being
referenced by ids.
Attaching a sample file.

On Thu, Nov 1, 2012 at 7:26 PM, Clayton Sims csims@dimagi.com wrote:

Yasheth,

It depends a lot on the structure, but often people’s fixtures are
heirarchical like:

<country id="foo>

which can be split up into three fixtures, referenced by the id captured
by the previous element.

It would help to know what all of your fixtures are doing and how
they’re being used.

-Clayton

On Thu, Nov 1, 2012 at 1:43 AM, yashseth yash@digitalgreen.org wrote:

Hi
Can you suggest how to split up the fixtures ?
I have 6 fixtures which I am using in my app.

On Thursday, November 1, 2012 11:11:23 AM UTC+5:30, yashseth wrote:

Thanks Clayton
I will try this out.

On Wednesday, October 31, 2012 10:47:17 PM UTC+5:30, Clayton Sims wrote:

Yasheth,

The amount of available memory on j2me is unfortunately fairly
limited. The way that fixtures are currently used requires a fair amount of
it to be in memory at once.

The restore itself streams from the file system, though, so the
bottleneck is the individual fixtures themselves. You can split up fixtures
which don’t need to be referenced in the same expression, which might help
get them under the limit.

-Clayton

On Wed, Oct 31, 2012 at 7:55 AM, yashseth ya...@digitalgreen.orgwrote:

Hi
I am trying to download fixtures for a group by using Restore from
server option.
After a bit, it gives me application error- javalang/ out-of-memory
error .
Can you please help me with this ?
Im using Nokia C2-01. Tried running the app from both phone memory
as well as SD card.
( If the fixture is below 200kb, it is able to download properly)

Yash Seth
Assistant Systems Engineer
V +91.11.41881037
M +91.9999069251
E* *yash@digitalgreen.org rikin@digitalgreen.org
O D6 & E6, Clarion Collection( The Qutab), Shaheed Jeet Singh Marg,
New Delhi-110016, India

www.digitalgreen.org

Yash Seth
Assistant Systems Engineer
V +91.11.41881037
M +91.9999069251
E* *yash@digitalgreen.org rikin@digitalgreen.org
O D6 & E6, Clarion Collection( The Qutab), Shaheed Jeet Singh Marg, New
Delhi-110016, India

www.digitalgreen.org

Looking at your data: There’s a huge, huge amount of data going down in the
Videoseen fixture, which likely where the problem is coming in.

What are you using that fixture to track? It seems like it would be a
better fit for this data to be maintained in cases, rather than a fixture.

-Clayton

··· On Thu, Nov 1, 2012 at 1:43 PM, Yash Seth wrote:

Im doing that. Actually a user has 5 villages under him. I ve assigned
groups for this.

On Thu, Nov 1, 2012 at 10:59 PM, Clayton Sims csims@dimagi.com wrote:

Can you split up the data regionally? IE: only send down the villages
which are relevant for each user?

-Clayton

On Thu, Nov 1, 2012 at 12:50 PM, Yash Seth yash@digitalgreen.org wrote:

Im using the following fixtures
Viilage
Activist
Person
Video
It is hierarchical and I’m already using them as separate fixtures being
referenced by ids.
Attaching a sample file.

On Thu, Nov 1, 2012 at 7:26 PM, Clayton Sims csims@dimagi.com wrote:

Yasheth,

It depends a lot on the structure, but often people’s fixtures are
heirarchical like:

<country id="foo>

which can be split up into three fixtures, referenced by the id
captured by the previous element.

It would help to know what all of your fixtures are doing and how
they’re being used.

-Clayton

On Thu, Nov 1, 2012 at 1:43 AM, yashseth yash@digitalgreen.org wrote:

Hi
Can you suggest how to split up the fixtures ?
I have 6 fixtures which I am using in my app.

On Thursday, November 1, 2012 11:11:23 AM UTC+5:30, yashseth wrote:

Thanks Clayton
I will try this out.

On Wednesday, October 31, 2012 10:47:17 PM UTC+5:30, Clayton Sims wrote:

Yasheth,

The amount of available memory on j2me is unfortunately fairly
limited. The way that fixtures are currently used requires a fair amount of
it to be in memory at once.

The restore itself streams from the file system, though, so the
bottleneck is the individual fixtures themselves. You can split up fixtures
which don’t need to be referenced in the same expression, which might help
get them under the limit.

-Clayton

On Wed, Oct 31, 2012 at 7:55 AM, yashseth ya...@digitalgreen.orgwrote:

Hi
I am trying to download fixtures for a group by using Restore from
server option.
After a bit, it gives me application error- javalang/ out-of-memory
error .
Can you please help me with this ?
Im using Nokia C2-01. Tried running the app from both phone memory
as well as SD card.
( If the fixture is below 200kb, it is able to download properly)

Yash Seth
Assistant Systems Engineer
V +91.11.41881037
M +91.9999069251
E* *yash@digitalgreen.org rikin@digitalgreen.org
O D6 & E6, Clarion Collection( The Qutab), Shaheed Jeet Singh Marg,
New Delhi-110016, India

www.digitalgreen.org

Yash Seth
Assistant Systems Engineer
V +91.11.41881037
M +91.9999069251
E* *yash@digitalgreen.org rikin@digitalgreen.org
O D6 & E6, Clarion Collection( The Qutab), Shaheed Jeet Singh Marg, New
Delhi-110016, India

www.digitalgreen.org