[Postgres-xl-general] Invalid memory alloc request size
ajackson at revionics.com
Wed Sep 24 21:05:39 PDT 2014
The working mem was originally 100MB. When I saw this error, I increased it to 1GB to try to alleviate the error. Unfortunately, I got the error in both cases but I will try again.
From: Mason Sharp [msharp at translattice.com]
Sent: Wednesday, September 24, 2014 5:31 PM
To: Aaron Jackson
Cc: Pavan Deolasee; postgres-xl-general at lists.sourceforge.net
Subject: Re: [Postgres-xl-general] Invalid memory alloc request size
On Mon, Sep 22, 2014 at 9:49 AM, Aaron Jackson <ajackson at revionics.com<mailto:ajackson at revionics.com>> wrote:
Yes, it appears (or at least is highly correlated) to be related to the size of the table - 60M rows So, I dumped the table, truncated the table, added the node and then reloaded - no issues.
Do you mind retrying with a smaller work_mem size? I believe you said you set yours for 1GB. When redistributing, it will use a size of work_mem internally. 1 GB happens to be 1073741824 bytes, and that error message gets triggered at 1GB - 1 byte.
I think the fix here is for us to cap this to be below 1 GB if work_mem is too high.
TransLattice - http://www.translattice.com<http://www.translattice.com/>
Clustered and Distributed Database Solutions
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the postgres-xl-general