We're Hiring!

Ice Memory Limit Exception

General and open developer discussion about using OMERO APIs from C++, Java, Python, Matlab and more! Please new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

If you are having trouble with custom code, please provide a link to a public repository, ideally GitHub.

Re: Ice Memory Limit Exception

Postby ebbwdan » Mon Aug 11, 2014 1:28 am

Hi Josh,

Just wanted to let you know I sent a private message with links to my repo.

Cheers,

Dan.
ebbwdan
 
Posts: 61
Joined: Wed Aug 29, 2012 4:46 am

Re: Ice Memory Limit Exception

Postby wmoore » Mon Aug 11, 2014 8:58 am

Hi Dan,

Unfortunately Josh is on holiday for the next few weeks. If you could send me what you sent him, I can try to help or pass them to an appropriate team member.

Thanks,

Will.
User avatar
wmoore
Team Member
 
Posts: 674
Joined: Mon May 18, 2009 12:46 pm

Re: Ice Memory Limit Exception

Postby wmoore » Tue Aug 19, 2014 12:55 pm

Hi Dan,

I opened a PR on your script: https://github.com/ebbwdan/omero_scripts/pull/1 which makes it run a little quicker.

I'll look at how we can make this a little nicer without hard coding the sequence of tiles and discuss with Josh when he's back.

Simply creating the image and calling setTile() to populate all the pixel data is still a little slow, so I'll ask him if there's any potential speedups there.

Hope that helps a bit,

Will.
User avatar
wmoore
Team Member
 
Posts: 674
Joined: Mon May 18, 2009 12:46 pm

Re: Ice Memory Limit Exception

Postby ebbwdan » Wed Aug 20, 2014 11:14 pm

Hi Will,

Many thanks for your help, much appreciated!

This approach is similar to what I tried a while ago in my original mod of 'createImageFromNumpySeq' but at that time I had trouble getting setTile() to work. At least I have a better understanding of getting and setting data now. Anyway, I'll give it a bash.

Cheers,

Dan.
ebbwdan
 
Posts: 61
Joined: Wed Aug 29, 2012 4:46 am

Previous

Return to Developer Discussion

Who is online

Users browsing this forum: Google [Bot] and 0 guests