This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 80417 - PrintPreview dialog can throws OutOfMemoryError
Summary: PrintPreview dialog can throws OutOfMemoryError
Status: CLOSED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Print (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-17 14:30 UTC by Andrey Yamkovoy
Modified: 2006-08-28 10:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Yamkovoy 2006-07-17 14:30:48 UTC
To reproduce OOM error you can play with font sizes, zoom and so on ... It's 
many ways to reproduce it ...

Steps to reproduce:
- Create TRS sample project.
- Open bpel diagram.
- Open Print Preview dialog.
- Open Print Options dialog.
- Play with header and footer font size (set it very big and small ... apply).
- Following error occurs:

java.lang.OutOfMemoryError: Java heap space
Comment 1 Vladimir Yaroslavskiy 2006-07-19 15:11:11 UTC
Set restriction: header/footer size must be <= 100.
Comment 2 Andrey Yamkovoy 2006-08-03 14:24:02 UTC
Looks like fixed.