# Workspace size

**URL:** <https://forum.kx.com/t/workspace-size/8228>\
**Category:** Community Support\
**Tags:** kdb-and-q\
**Created:** [April 16, 2013, 9:45pm UTC](https://forum.kx.com/t/workspace-size/8228 "2013-04-16T21:45:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![raytork](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@raytork](https://forum.kx.com/u/raytork)\
**Post date:** [April 16, 2013, 9:45pm UTC](https://forum.kx.com/t/workspace-size/8228/1 "2013-04-16T21:45:00Z")

</div>

charset=us-ascii  
X-Mailer: iPad Mail (10B329)  
Message-Id: \<57175628-7AE4-416D-9341-953C29AF5143@gmail.com\>  
Date: Tue, 16 Apr 2013 16:45:38 -0400  
To: “[personal-kdbplus@googlegroups.com](mailto:personal-kdbplus@googlegroups.com)”   
  
Mime-Version: 1.0 (1.0)  
  
Is there a way to estimate how large a workspace will be required to handle a=  
 query? I will be writing 5x10^9 rows to a table on disk with rows each 20 b=  
ytes in size. When I run the query now, I am getting wsfull error. My intent=  
 is for the source tables and result tables not to load into memory since th=  
ey are all larger than my available RAM.  
  
Thanks,=
