# Not enough space error on windows

**URL:** <https://www.ruby-forum.com/t/not-enough-space-error-on-windows/153614>\
**Category:** Ruby\
**Created:** [November 19, 2008, 12:00pm UTC](https://www.ruby-forum.com/t/not-enough-space-error-on-windows/153614 "2008-11-19T12:00:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ittayd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/54ee81/32.png) [@ittayd](https://www.ruby-forum.com/u/ittayd)\
**Post date:** [November 19, 2008, 12:00pm UTC](https://www.ruby-forum.com/t/not-enough-space-error-on-windows/153614/1 "2008-11-19T12:00:46Z")

</div>

I get a ‘Not enough space’ error on windows. The disk has plenty of  
space and it looks like this is happening when writing a message to the  
screen.

I saw somewhere that python has such an error because it is using a  
buffer to large for windows’s taste. could this be the case here?

Any hints will be appreciated.

Ittay

---

<div class="post-metadata">

**Author:** ![ittayd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/54ee81/32.png) [@ittayd](https://www.ruby-forum.com/u/ittayd)\
**Post date:** [November 19, 2008, 1:44pm UTC](https://www.ruby-forum.com/t/not-enough-space-error-on-windows/153614/2 "2008-11-19T13:44:03Z")

</div>

Ittay D. wrote:

> I get a ‘Not enough space’ error on windows. The disk has plenty of  
> space and it looks like this is happening when writing a message to the  
> screen.
> 
> I saw somewhere that python has such an error because it is using a  
> buffer to large for windows’s taste. could this be the case here?
> 
> Any hints will be appreciated.
> 
> Ittay

Could you give a little more context? What code did produce the error  
message?

---

<div class="post-metadata">

**Author:** ![ittayd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/54ee81/32.png) [@ittayd](https://www.ruby-forum.com/u/ittayd)\
**Post date:** [November 19, 2008, 9:53pm UTC](https://www.ruby-forum.com/t/not-enough-space-error-on-windows/153614/3 "2008-11-19T21:53:06Z")

</div>

sorry, here is the stack trace (it gets the error during ‘puts’)

Not enough space

c:/dev/tools/ruby/lib/ruby/1.8/fileutils.rb:1460:in `write’

c:/dev/tools/ruby/lib/ruby/1.8/fileutils.rb:1460:in `puts’

c:/dev/tools/ruby/lib/ruby/1.8/fileutils.rb:1460:in `fu\_output\_message’

c:/dev/tools/ruby/lib/ruby/1.8/fileutils.rb:606:in `rm\_r’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1072:in  
`rm\_r’

c:/dev/tools/ruby/lib/ruby/1.8/fileutils.rb:634:in `rm\_rf’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1072:in  
`rm\_rf’

./build/buildr/assembly.rb:366:in `after\_define’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1090:in  
`verbose’

./build/buildr/assembly.rb:364:in `after\_define’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in  
`call’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in  
`execute’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in  
`each’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in  
`execute’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:655:in  
`invoke\_with\_call\_chain’

c:/dev/tools/ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:641:in  
`invoke\_with\_call\_chain’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:588:in  
`invoke\_prerequisites’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in  
`each’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in  
`invoke\_prerequisites’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/project.rb:191:in  
`invoke\_prerequisites’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:648:in  
`invoke\_with\_call\_chain’

c:/dev/tools/ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:641:in  
`invoke\_with\_call\_chain’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:588:in  
`invoke\_prerequisites’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in  
`each’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in  
`invoke\_prerequisites’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/project.rb:191:in  
`invoke\_prerequisites’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:648:in  
`invoke\_with\_call\_chain’

c:/dev/tools/ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:641:in  
`invoke\_with\_call\_chain’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:636:in  
`invoke’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/project.rb:330:in  
`local\_task’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/project.rb:355:in  
`[]’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/project.rb:355:in  
`local\_projects’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/project.rb:355:in  
`each’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/project.rb:355:in  
`local\_projects’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/project.rb:328:in  
`local\_task’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:615:in  
`call’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:615:in  
`execute’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in  
`each’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in  
`execute’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:655:in  
`invoke\_with\_call\_chain’

c:/dev/tools/ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:641:in  
`invoke\_with\_call\_chain’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:636:in  
`invoke’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2019:in  
`invoke\_task’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:232:in  
`top\_level’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:232:in  
`each’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:232:in  
`top\_level’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:521:in  
`standard\_exception\_handling’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:223:in  
`top\_level’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:138:in  
`run’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:521:in  
`standard\_exception\_handling’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:135:in  
`run’

c:/dev/tools/ruby/lib/ruby/gems/1.8/gems/buildr-1.3.4/bin/buildr:19

c:/dev/tools/ruby/bin/buildr:19:in `load’

c:/dev/tools/ruby/bin/buildr:19

Sven S. wrote:

> > Any hints will be appreciated.
> > 
> > Ittay
> 
> Could you give a little more context? What code did produce the error  
> message?

–  
Ittay D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Tikal [http://www.tikalk.com](http://www.tikalk.com)  
Tikal Project [http://tikal.sourceforge.net](http://tikal.sourceforge.net)

---

<div class="post-metadata">

**Author:** ![ittayd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/54ee81/32.png) [@ittayd](https://www.ruby-forum.com/u/ittayd)\
**Post date:** [December 4, 2008, 7:00am UTC](https://www.ruby-forum.com/t/not-enough-space-error-on-windows/153614/4 "2008-12-04T07:00:59Z")

</div>

anyone?

---

<div class="post-metadata">

**Author:** ![ittayd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/54ee81/32.png) [@ittayd](https://www.ruby-forum.com/u/ittayd)\
**Post date:** [December 8, 2008, 7:17am UTC](https://www.ruby-forum.com/t/not-enough-space-error-on-windows/153614/5 "2008-12-08T07:17:36Z")

</div>

Ittay D. wrote:

> anyone?

You figure this out?

---

<div class="post-metadata">

**Author:** ![ittayd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/54ee81/32.png) [@ittayd](https://www.ruby-forum.com/u/ittayd)\
**Post date:** [December 8, 2008, 8:30am UTC](https://www.ruby-forum.com/t/not-enough-space-error-on-windows/153614/6 "2008-12-08T08:30:19Z")

</div>

see [http://redmine.ruby-lang.org/issues/show/766](http://redmine.ruby-lang.org/issues/show/766)

if you have a similar case, maybe you can offer a way to reprocduce

ittay

Roger P. wrote:

> Ittay D. wrote:
> 
> > anyone?
> 
> You figure this out?

–  
Ittay D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Tikal [http://www.tikalk.com](http://www.tikalk.com)  
Tikal Project [http://tikal.sourceforge.net](http://tikal.sourceforge.net)
