On Mon, Jun 18, 2012 at 7:22 PM, Vivian Gomes <[email protected]>wrote:

> Hi, I'm facing a time problem in my code.
> I have 4 tables, this tables has just a few lines (50 - 500) but it has
> huge polygons (countries, states, lakes and rivers).
> My code executes the same query method over those tables to make an image.
> I execute my code on a Windows O.S. machine and it is fast and faster when
> dont have anything to return but the same code on a Linux machine is too
> slow even when dont have any results to return.
> Just to show how it is different, the Windows machine took 20 hours to
> make 660.000 images, and the Linux one took 60 hours to make the same
> quantity.
>
> Configuration:
> Linux machine: I7 16Gb 1Tb Linux Suse
> Windows machine: Core 2 Duo 4 Gb 500Gb Windows 7
>

You are not citing the Java version used on the two machines, nor the amount
of memory given to the JVM and general JVM configuration?

Cheers
Andrea


-- 
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to