<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 44: Exception in jacl-shell when running 'yes'</title><link href="https://sourceforge.net/p/tcljava/bugs/44/" rel="alternate"/><link href="https://sourceforge.net/p/tcljava/bugs/44/feed.atom" rel="self"/><id>https://sourceforge.net/p/tcljava/bugs/44/</id><updated>2007-01-15T12:27:19Z</updated><subtitle>Recent changes to 44: Exception in jacl-shell when running 'yes'</subtitle><entry><title>Exception in jacl-shell when running 'yes'</title><link href="https://sourceforge.net/p/tcljava/bugs/44/" rel="alternate"/><published>2007-01-15T12:27:19Z</published><updated>2007-01-15T12:27:19Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net15d4ddc5c6034cc46f947523082b39bf8e124767</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;'yes' is a unix command that provides a continuous stream of 'y'. &lt;br /&gt;
On running this command inside the Shell supplied by jacl, the Shell exited with:&lt;br /&gt;
%yes&lt;br /&gt;
Exception in thread "Thread-5" java.lang.OutOfMemoryError: Java heap space&lt;br /&gt;
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space.&lt;/p&gt;
&lt;p&gt;The behavior of native tcl shell is to continue printing 'y' in the terminal.&lt;br /&gt;
$tclsh&lt;br /&gt;
% yes&lt;br /&gt;
y&lt;br /&gt;
y&lt;br /&gt;
y&lt;br /&gt;
y&lt;br /&gt;
y&lt;/p&gt;
&lt;p&gt;The behavior in jacl should be identical. If it is not, at least the shell should not exit with a java OOM exception.&lt;/p&gt;
&lt;p&gt;submitted by rahul.nair@sun.com&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>