facebook

ER cannot convert to jpg

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 9 posts - 16 through 24 (of 24 total)
  • Author
    Posts
  • #227581

    Mike__
    Member

    Hello,

    I have been trying to save relatively large ER model (over 100 tables) to jpg and been running into series of problems. With smaller models (10-20 tables) I have been able to save the model into file.

    I’m running MyEclipse on Linux, 1Gb physical memory and 5Gb swap (was originally 1Gb but boosted it up due to out of memory exceptions during the saving operation).

    I also tried passing arguments to eclipse from command line:
    ./eclipse -Xms256M -Xmx4096M

    Now i didn’t get any errors (no message box nor error in the log). But there also wasn’t any jpg file?! All physical memory was used at this point and over 2Gb of the swap.

    Do you have any ideas what could be done with this? Any suggestions?

    /Mike

    #227584

    Brian Fernandes
    Moderator

    Mike,

    Just like Windows, Linux also has a limit on the bitmap size, I don’t know the figure, but it is considerably larger.

    Please note, this is Bitmap size; it does not matter how much memory you allocate for your VM. You probably have plenty to spare, but it’s an OS specific limit.

    For now, you can install a PDF printer and the “Print” the diagram to a PDF.

    We’re sorry for the inconvenience,
    Brian.

    #227592

    Mike__
    Member

    Brian,

    Thanks for the quick reply and explanation.

    I will try PDF printer and see if it works for us.

    /Mike

    #228855

    rodes2
    Member

    Brian,

    Mark up another user with the same problem in Linux. It seems like a silly question, but I do not see any option to print associated with the ERD page. Am I missing something obvious?

    Thanks,
    Jeff

    #228859

    Riyad Kalla
    Member

    Eclipse doesn’t supporting printing under Linux, see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=24796

    #229668

    vdbdavid
    Member

    Hi,

    Is this limitation removed in the 4.0M1 release?

    #229717

    vdbdavid
    Member

    Nop it isn’t. 🙁

    Will it be in 4.0M2?

    #229718

    Brian Fernandes
    Moderator

    We have a solution in the works, but it isn’t sufficiently prioritized for M2.

    I doubt you’d see it in M2 – but I will try and push up priority for 4.0GA.

    Sorry for the inconvenience,
    Brian.

    #232823

    I too have the same problem. Is it still the memory problem?

    !SESSION Jul 12, 2005 14:06:07.61 ———————————————-
    eclipse.buildId=M200409161125
    java.version=1.4.1_02
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US

    !ENTRY org.tigris.subversion.subclipse.core 4 -6 Jul 12, 2005 14:06:07.61
    !MESSAGE Command line client adapter is not available
    !STACK 0
    org.tigris.subversion.svnclientadapter.SVNClientException: Command line client adapter is not available
    at org.tigris.subversion.svnclientadapter.commandline.CmdLineClientAdapterFactory.setup(CmdLineClientAdapterFactory.java:48)
    at org.tigris.subversion.subclipse.core.SVNClientManager.startup(SVNClientManager.java:49)
    at org.tigris.subversion.subclipse.core.SVNProviderPlugin.start(SVNProviderPlugin.java:126)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:958)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:954)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:937)
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:421)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:293)
    at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:110)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:371)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.requireClass(BundleLoader.java:336)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findRequiredClass(BundleLoader.java:914)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:399)
    at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:93)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:1590)
    at java.lang.Class.getConstructor0(Class.java:1762)
    at java.lang.Class.newInstance0(Class.java:276)
    at java.lang.Class.newInstance(Class.java:259)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:153)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:933)
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:421)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:293)
    at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:110)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:371)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:402)
    at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:93)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:307)
    at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:336)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1313)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:131)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:124)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:113)
    at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:196)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:51)
    at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:193)
    at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition$1.run(LightweightDecoratorDefinition.java:83)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
    at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.internalGetDecorator(LightweightDecoratorDefinition.java:79)
    at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:153)
    at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:60)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
    at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:258)
    at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:241)
    at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:285)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

    !ENTRY com.genuitec.eclipse.sqlexplorer 4 4 Jul 12, 2005 14:06:13.967
    !MESSAGE Error saving image
    !STACK 0
    org.eclipse.swt.SWTError: No more handles [GetLastError=0x8]
    at org.eclipse.swt.SWT.error(SWT.java:2717)
    at org.eclipse.swt.graphics.Image.init(Image.java:1366)
    at org.eclipse.swt.graphics.Image.<init>(Image.java:161)
    at com.genuitec.eclipse.erdesigner.actions.ExportImageAction.run(Unknown Source)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:881)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:866)
    at org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:785)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
    at org.eclipse.core.launcher.Main.run(Main.java:704)
    at org.eclipse.core.launcher.Main.main(Main.java:688)

Viewing 9 posts - 16 through 24 (of 24 total)
Reply To: ER cannot convert to jpg

You must be logged in to post in the forum log in