From: John M. <joh...@gm...> - 2012-12-11 13:52:10
|
Actually it would be around 3 * 8 * 25,000 * 20 which is ~ 11 Mb. On 11 Dec 2012, at 13:48, Egon Willighagen <ego...@gm...> wrote: > On Tue, Dec 11, 2012 at 2:42 PM, John May <joh...@gm...> wrote: >> Yeah, it's also a LinkedHashMap (more memory due doubly linked list). I >> think all maps initialise to the default of ~14 slots in which case we can >> do some rough calculations, taking a conservative estimate of v=20 atoms… >> loading n=25,000 molecules. Each pointer (inc. null) is 8 bytes (64-bit >> system) so as a lower bound we get. >> >> pointer x hash map length x null bytes x v x n >> 8 * 14 * 8 * 25,000 * 20 = 448000000 = 427 mb > > What if we had those four properties as additional fields in > IAtomType... that would match: > > 8 * 3 * 8 * 25,000 * 20 ~ 90 MB > > Still a lot, not? > > Does this imply that we should move to wrapped IIsotope and IAtomType anyway? > > Egon > > > -- > Dr E.L. Willighagen > Postdoctoral Researcher > Department of Bioinformatics - BiGCaT > Maastricht University (http://www.bigcat.unimaas.nl/) > Homepage: http://egonw.github.com/ > LinkedIn: http://se.linkedin.com/in/egonw > Blog: http://chem-bla-ics.blogspot.com/ > PubList: http://www.citeulike.org/user/egonw/tag/papers > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Cdk-devel mailing list > Cdk...@li... > https://lists.sourceforge.net/lists/listinfo/cdk-devel |