Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4BBA7E59E for ; Fri, 28 Dec 2012 20:20:14 +0000 (UTC) Received: (qmail 16943 invoked by uid 500); 28 Dec 2012 20:20:13 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 16794 invoked by uid 500); 28 Dec 2012 20:20:13 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 16601 invoked by uid 99); 28 Dec 2012 20:20:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Dec 2012 20:20:12 +0000 Date: Fri, 28 Dec 2012 20:20:12 +0000 (UTC) From: "Luc Maisonobe (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (MATH-924) new multivariate vector optimizers cannot be used with large number of weights MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MATH-924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Luc Maisonobe resolved MATH-924. -------------------------------- Resolution: Fixed Fix Version/s: 3.1.1 Fixed in subversion repository as of r1426616. > new multivariate vector optimizers cannot be used with large number of weights > ------------------------------------------------------------------------------ > > Key: MATH-924 > URL: https://issues.apache.org/jira/browse/MATH-924 > Project: Commons Math > Issue Type: Bug > Reporter: Luc Maisonobe > Priority: Critical > Fix For: 3.1.1 > > > When using the Weigth class to pass a large number of weights to multivariate vector optimizers, an nxn full matrix is created (and copied) when a n elements vector is used. This exhausts memory when n is large. > This happens for example when using curve fitters (even simple curve fitters like polynomial ones for low degree) with large number of points. I encountered this with curve fitting on 41200 points, which created a matrix with 1.7 billion elements. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira