Aniket, share the code? It really depends on how you create them. -D
On Wed, Feb 23, 2011 at 7:49 PM, Aniket Mokashi <amoka...@andrew.cmu.edu>wrote: > I ve written a simple UDF that parses a chararray (which looks like > ...[a].....[b]...[a]...) to capture stuff inside brackets and return them > as String a=2;b=1; and so on. The input chararray are rarely more than > 1000 characters and are not more than 100000 (I ve added log.warn in my > udf to ensure this). But, I still see java heap error while running this > udf (even in local mode, the job simply fails). My assumption is maps and > lists that I use locally will be recollected by gc. Am I missing > something? > > Thanks, > Aniket > >