JComboBox event confusion: not enough generated? :-(

Hi,
I am slightly confused about the events generated by the combobox.
I have a combobox and and actionlistener registered on it. If I programmatically use setSelectedIndex on the combobox, and event is generated and the actionlistener is triggered. If I do a setSelectedIndex on the same combobox within the code of the action listener, no event is generated, though the index does get updated. Though I am happy it doesn't generate that event, I don't understand why it doesn't. Anyone?
Rene'

Instead of using ActionListener you should use ItemListener for combo box. This is an example
comboBox.addItemListener(new java.awt.event.ItemListener() {
     public void itemStateChanged(ItemEvent e) {
     try {
     JComboBox box = (JComboBox) e.getSource();
     System.out.println(box.getSelectedItem());
     } catch (ArrayIndexOutOfBoundsException exp) {}
});Note: Item Listener only listens when you change something in Combo Box. If you click on a combo box, and selects the same value, item listeners doesn't call.
Hope this helps.

Similar Messages

  • XML generated with Warning: Not enough storage is available to complete ..

    Hello Experts,
    Using XML publisher to generate a report. Report is generated when data is less. I get Not enough storage is available to complete this operation warning when there is a huge data.
    The same problem is mentioned here XML Publisher report ends up with Warning: not enough storage is available

    Hi Fabien,
    If Uint8Array works fine on the other computer, it should not be the problem of the API, but instead it could be the setting or configuration for IE.
    Actually using XHR for 500MB zip file is not suggested, base on the documentation:
    How to download a file, XHR wraps an
    XMLHttpRequest call in a promise, which is not a good approach for big item download, please use
    Background Transfer instead, which is designed to receive big items.
    Simply search on the Internet, and looks like the not enough storage error is a potential issue while using XMLHttpRequest:
    http://forums.asp.net/p/1985921/5692494.aspx?PRB+XMLHttpRequest+returns+error+Not+enough+storage+is+available+to+complete+this+operation, however I'm not familiar with how to solve the XMLHttpRequest issues.
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Cant sync iPod touch.  comes up with "cannot be synced because there is not enough free space to hold all of the items in the iTunes library (21.6MB required, 304.8MB available)."  I am so confused.  I have more than enough space even on PC.

    cant sync iPod touch.  comes up with "cannot be synced because there is not enough free space to hold all of the items in the iTunes library (21.6MB required, 304.8MB available)."  I am so confused.  I have more than enough space even on PC.

    That message is telling you that you do not have enough stgorage on the iPod to accomodate all the media you are trying to sync to the iPod.
    Sync less
    iTunes: Syncing media content to iOS devices and iPod       
    Try syncing using the manual method                
    Managing content manually on iPhone, iPad, and iPod

  • I tried to import a video into iMovie. Its says their is not enough space on the destination disk. I deleted many projects, and events. Nothing changed. What files do I delete and how?

    I tried to import a video into iMovie. Its says their is not enough space on the destination disk. I deleted many projects, and events. Nothing changed. What files do I delete and how?

    Hard drive full or near full:
    You are going to have to delete, move or archive your data to regain hard drive space.
    Have you emptied your iMac's Trash icon in the Dock?
    If you use iPhoto, iPhoto has its own trash that needs to be emptied, also.
    If you use Apple Mail app, Apple Mail also has its own trash area that needs to be emptied, too!
    Other things you can do to gain space.
    Delete any old or no longer needed emails and/or archive older emails you want to save.
    Look through your Documents folder and delete any type of old useless type files like "Read Me" type files.
    Again, archive or delete any old documents you no longer use or immediately need.
    Uninstall apps that you no longer use. If the app has a dedicated uninstaller, use it to completely uninstall the app. If the app has no uninstaller, then just drag it to the OS X Trash icon  and empty the Trash.
    Download an app called OnyX for your version of OS X.
    When you install and launch it, let it do its thing initially, then go to the cleaning and maintenance tabs and run all of the processes in the tabs. Let OnyX clean out all web browser cache files, web browser histories, system cache files, delete old error log files.
    Typically, iTunes and iPhoto libraries are the biggest users of HD space.
    If you have any other large folders of personal data or projects, these should be moved, also, to the external hard drive and then either archived to disc and/or deleted off your internal hard drive.
    You may have to Purchase an external FireWire or Thunderbolt hard drive to move these files/data off of your internal drive to the external hard drive and deleted off of the internal hard drive.
    Good Luck!

  • Got "Not enough render area" while generating report

    I got the error "Not enough render area" while generating the report. I try to increase the paper size ,it works in word preview but not in the server. Is there any has resolved this kind of problem? Thanks in advance.

    You are in the latest version of BIP-EE
    i think, you will have to increase the size of the page-size or see the template.

  • Not enough memory & can't fire events messages

    I get these messages opening a document or trying to save.

    The message has nothing to do with low disk space.
    There is excessive swapping of data between physical memory (that is, the memory chips on the logic board) and virtual memory (one or more files on the startup volume.) That activity is relatively slow and causes the whole system to be less responsive. It can happen for two reasons:
    A long-running process with a memory leak (a kind of bug)
    Not enough memory for your usage pattern
    Tracking down a memory leak can be difficult, and it may come down to a process of elimination.
    When you notice the swap activity, open the Activity Monitor application and select All Processes from the menu in the toolbar, if it's not already selected. Click the heading of the Real Mem column in the process table twice to sort the table with the highest value at the top. If you don't see that column, select
    View ▹ Columns ▹ Real Memory
    from the menu bar.
    If one process (excluding "kernel_task") is using much more memory than all the others, that could be an indication of a leak. A better indication would be a process that continually grabs more and more real memory over time without ever releasing it. Here is an example of how it's done.
    The process named "Safari Web Content" renders web pages for Safari and other applications. It uses a lot of memory and may leak if certain Safari extensions or third-party web plugins are installed. Consider it a prime suspect.
    Another process often implicated in memory leaks is "inkjet4" or "inkjet8," which is a component of the HP printing software. If it's present, force-quit the process in Activity Monitor to solve the problem temporarily. Empty the print queues in the Printers & Scanners preference pane (which has a slightly different name in each recent version of OS X.) If you don't use an HP printer, remove the software. Otherwise, if the problem is recurrent, update the software (which may not help) or contact HP support.
    The System Memory tab of the Activity Monitor window shows how physical memory is being used. "Wired" memory should be a small part of the total. That memory is not swapped, but it makes less physical memory available which may then result in swapping. If you have a lot of wired memory, that's usually an indication of a memory leak in a third-party program that modifies the operating system at a low level. Ask for guidance in that case.
    If you don't have an obvious memory leak, your options are to install more memory (if possible) or to run fewer programs simultaneously.
    The next suggestion is only for users familiar with the shell. For a more precise, but potentially misleading, test, run the following command: 
    sudo leaks -nocontext -nostacks process | grep total
    where process is the name of a process you suspect of leaking memory. Almost every process will leak some memory; the question is how much, and especially how much the leak increases with time. I can’t be more specific. See the leaks(1) man page and the Apple developer documentation for details.

  • ActionCommand and getSource() are not enough

    Hi,
    I have a question about the basic concept of event-handling in Java. I'll illustrate my problem by example.
    Suppose my program contains two classes, i.e Main and GUI, whereas MainClass implements ActionListener. The action takes place on a JPanel in GUI with a JButton (for invokation of a JColorChooser) and a JComboBox (listing the index of an object which color can be changed) on it. What I want to do is the following: Click on the ColorButton, choose a color and apply it to the object with index specified by the JComboBox. This should be done in MainClass. Normally the ColorButton has an ActionCommand, i.e. "Color changed", but this information is not enough, I have to know which object is meant. So what is the right way to handle events if additional information is needed like in this case the object index? Maybe one has to pass some data through the ActionEvent.
    I hope anybody can help me.
    Thanks in advance.
    Manticore

    Here are two alternative approaches. There are several more.
    1.
    A JComboBox will fire ActionEvents when its selection changes. Since your MainClass is already implementing the ActionListener interface, you can let it listen to these changes just as it listens to events from the button. If the source of the ActionEvent is the JComboBox you get its selected item and store it, so that when the event from the button comes you know which item is selected.
    2.
    Have a method in your GUI class that retrieves the currently selected item from the combobox. The MainClass then needs a reference to the GUI class, and it can call that method when the ActionEvent from the button occurs.

  • HT204022 This iphone cannot be backed up because there is not enough iCloud storage available.  Can you help up delete some of our pictures that are backed up so that we can continue to back up the phone?

    This iphone cannot be backed up because there is not enough iCloud storage.  Can you help me take the pictures off the icloud since I backed them up on my pc and would like to continue to use the storage in icloud to back up with.

    you are correct. We are not understanding each other. I am attempting to provide a model for good habits for the OP. You have provided only a short term brief intervention which leaves a gaping hole for data to get lost in.
    At no point did I say that merely backing up the device without saving the camera roll pictures would delete them.  Please stop inferring what you think I mean, you are confusing the issue. I said that doing so was SETTING UP the OP for data loss. This behavior encourages the OP to simply shut off their backup for their pictures. At no point did you instruct the OP to delete the old pictures from the device. The set up part is this... if they simply turn off the camera roll backup, and aren't implementing some form of management for the pictures on the device, then the pictures are only being actually saved, in a "permanent" manner when the OP backs up to itunes. That's all fine and good, but this also presumes that the OP will always do so on a regular basis, will never forget to do so even when there are a ton of new, very important pics to worry about.
    My suggestion allows the OP to continue to use the automatic backup feature the way it was intended...automatically...for the information that has not yet been saved to the user's computer. The whole point here is that the OP can keep their pics AND still benefit from automatic backups without disabling the cameral roll from being backed up into the icloud.
    Should this poster have walked into my fruit themed store, I would recommend that the OP do the following:
    1. back up the pics to the computer (done)
    2. REMOVE THE BACKED UP PICS FROM THE PHONE
    3. Learn about and utilize PHOTOSTREAM (including its limitations like no videos, only 1000 pics and only for 30 days) to make backing up and saving the photos from the phone easy and simple
    4. Explain how backup works and what it backs up
    5. Reassure the OP that even if they haven't backed up to itunes lately or have not bothered to properly save their pictures using another device and PHOTOSTREAM, that their oversight won't be catastrophic in circumstances where failure to do either of these things and being met with tragedy, does not necessarily mean that the OP is SOL. The automatic backup is another line of defense against data loss and can save the OP's precious memories, TEMPORARILY, until they can be transferred to another device for "permanent" storage. Why disable a line of defense?
    I see it all the time. Full icloud, camera roll turned off, device not backed up to itunes nor pics saved for weeks because they were too busy, didn't feel like it or were just plain lazy.  Then, a wedding, birth, Halloween, Naughty time with the hubby, whatever it may be its an event with a LOT of pictures taken. Then, then next day or so, before the manual saves can happen, the device is damaged and needs to be replaced. There's no backup, nothing saved and the user loses ALL of the pics from the special event. IF they had properly managed their pics and only kept stuff on there that they really needed, deleted the rest after saving their pics elsewhere, and thus kept the backup size small enough to use, the backup would happen unattended overnight, and even though catastrophe still happens,  all the pics from the big event are recovered on a new device using the iCloud backup.
    Do you see the difference?  I hope you do, and i hope so does the OP.  I have a great deal of experience here, take advantage of it or not. Accept my help or be stubborn about it, Your choice. I am finished posting into this thread now.  Take care and good luck with your data.

  • "Not Enough Free Disk Space" on exporting slideshows

    I have about 100GB of free space on my HD and Iphoto 8.1.1 is now showing "Not Enough Free Disk Space" when I try to export a slideshow. Anyone had this kind of problem? Any idea how to solve this?

    Some basic fixes to try:
    Repair Permissions with Disk Utility
    Try trash the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder. (Remember you'll need to reset your User options afterwards. These include minor settings like the window colour and so on. Note: If you've moved your library you'll need to point iPhoto at it again.)
    *What's the plist file?*
    For new users: Every application on your Mac has an accompanying plist file. It records certain User choices. For instance, in your favourite Word Processor it remembers your choice of Default Font, on your Web Browser is remembers things like your choice of Home Page. It even recalls what windows you had open last if your app allows you to pick up from where you left off last. The iPhoto plist file remembers things like the location of the Library, your choice of background colour, whether you are running a Referenced or Managed Library, what preferences you have for autosplitting events and so on. Trashing the plist file forces the app to generate a new one on the next launch, and this restores things to the Factory Defaults. Hence, if you've changed any of these things you'll need to reset them. If you haven't, then no bother. Trashing the plist file is Mac troubleshooting 101.
    Regards
    TD

  • Help Needed REP-1800 Formatter error VGS-1701 Not enough memory

    Hi. Gents
    Help needed
    I’m working on a Report, it gets some 2 million records and the report pages are approximately 52,000
    It works fine if the pages are lesser then 48,000 or the data is less let say one and half a million, the problem occurs only after 48000 + pages formatted.
    Report is generated successfully when trying to go to the last page it throw an error.
    REP-1800 Formatter error
    VGS-1701 Not enough memory
    I have already gone through the metalink DOC Id 95505.1 as well as OTN
    But all in vain,
    Any comments or help much appreciated.
    Details are:
    Reports 6i (Clients/Server) on Windows platform
    (Windows XP Professional with SP 2)
    Database: Oracle9i Enterprise Edition Release 9.2.0.5.0
    Computer:
    Pentium(R) 4, CPU 3.00GHz, 1 GB of RAM
    Still 20 GB free space
    Thanks & Regards

    I don't see the point in making a report with more than 48,000 pages, I think Al Gore will not be happy when you start printing it...
    The problem might be caused by the fact that Reports needs to format all output at once, and then even 1GB of memory will probably be not enough. Formatting all pages at once is needed if you use pagination with displaying total number of pages. If you have this, try to get that out of the report definition and try again.

  • Memory full.Not enough memory for operation.

    To the Report Design Team,
    It has been suggested that I post this issue here based on another thread I started: Re: Memory full.Not enough memory for operation.
    The template contains a single 24 bit PNG image as a background in the Page Header section, plus 9 image records from a SQL Server image field over 3 pages (3 images per page).  The images are all JPG at 3000x2000 (digital camera).
    To summarize, we are experiencing three problems.
    1. CR2008SP2 Designer issues a Memory Full error when Exporting to PDF.
    2. Using a 3rd party PDF Printer (Bullzip PDF) and CR2008SP2 Designer generates a PDF, however, the CR2008SP2 API throws a "Memory full" exception suggesting Designer and API are different (see stack trace in linked message above).
    3. With only 3 images on 1 page, CR2008 Designer Export to PDF takes 110 seconds to generate a 24MB PDF while our third party PDF Printer generates the same report in 17 seconds and 580KB.
    Edited by: Don Williams on Sep 30, 2009 6:43 AM

    The .rpt file size is 14MB with the Data Save option enabled, 12MB without Data Save.  Presumably the 12MB file size is because of the 24bit PNG we have as our background.
    The Designer executes the report in less than a second and we can scroll through all pages and see the image fields perfectly.
    When we Export to PDF, the Designer takes a long time, eventually gets to the 77%, the 7th record and returns "Export report failed" followed by "Memory full".  If we export only page 1 of the 3 pages, it also returns a Memory full error.  However, when the same report is run with only 1 page, that page exports to PDF but with a ridiculously large size and export time.
    The machine has 2GB of physical memory with an 8GB pagefile with Windows 2003 (latest everything).  The process runs up to about 1GB before reporting the memory full error.
    We've also tried a variety of other suggestions posted in the other thread with no success.
    We're happy to provide the RPT file to the Report Team to diagnose the problem.  Ultimately, we need to be able to produce a 15 page report with approximately 45 images.
    Our preferred scenario is fixing problem 2.  The CR Designer seems quite capable of rendering our report and printing it to our third party PDF printer in a timely manner with small size.  However, the API reports memory full.
    The API resides in a dedicated reporting web service with NO other code except for loading the report, setting parameters and printing.  When executing, it uses up to about 1.1GB before reporting the error.
    Are there any other suggestions for fixing what we have?  Are there known problems with large images in reports?  Do we need to lodge a formal support request?
    Regards,  Grant.
    PS.  Grr and my message formatting is lost when I edited this message!!!
    There is a 1500 character limit and then all formatting is removed to save space. Break you posts into separate entries.
    Edited by: grantph on Sep 30, 2009 2:49 AM

  • SBS 2011 Remote Web Workplace issues not enough memory???

    Hi,
    Were having problems with the RWW website on our SBS 2011 server, users are able to logon, but the connect buttons of the computers are not working, if we click on them nothing happes, no error message, nothing.
    When a users logs on we see 5 error messages in the application log of the SBS server, 4 times event 3 appears and 1 time event 1309, all messages say there is not enough memory available (less then 5%). When we close some applications/services and the memory
    usage is below 95% the RWW websites works fine and the connect buttons function properly.
    This server has 16GB of RAM, beside the standard SBS 2011 installation we installed only anti-virus and back-up software on this server.
    We have several other customers that are running SBS 2011 servers, they have less internal memory and sometimes just 98% of free memory, but their RWW websites function without any problems and don't get these error messages.
    Can someone tell me how to resolve this problem?
    This are the complete error messages:
    Logboeknaam:   Application
    Bron:          System.ServiceModel 4.0.0.0
    Datum:         16-5-2013 10:36:34
    Gebeurtenis-id:3
    Taakcategorie: WebHost
    Niveau:        Fout
    Trefwoorden:   Klassiek
    Gebruiker:     NETWORK SERVICE
    Computer:     
    Beschrijving:
    WebHost kan een aanvraag niet verwerken.
     Informatie afzender: System.ServiceModel.ServiceHostingEnvironment+HostingManager/28106152
     Uitzondering: System.ServiceModel.ServiceActivationException: De service /Remote/BuiltIns/HomePage/GadgetDnD/GadgetDnDService.svc kan niet worden geactiveerd als gevolg van een uitzondering tijdens de compilatie. Het uitzonderingsbericht is: Het controleren
    van de geheugenpoorten is mislukt omdat het vrije geheugen (462663680 byte) minder bedraagt dan 5% van het totale geheugen. Het gevolg is dat de service niet beschikbaar is voor binnenkomende aanvragen. U kunt dit probleem oplossen door de belasting van de
    computer te verlagen of door de waarde van inFreeMemoryPercentageToActivateService in het configuratie-element serviceHostingEnvironment aan te passen.. ---> System.InsufficientMemoryException: Het controleren van de geheugenpoorten is mislukt omdat het
    vrije geheugen (462663680 byte) minder bedraagt dan 5% van het totale geheugen. Het gevolg is dat de service niet beschikbaar is voor binnenkomende aanvragen. U kunt dit probleem oplossen door de belasting van de computer te verlagen of door de waarde van
    inFreeMemoryPercentageToActivateService in het configuratie-element serviceHostingEnvironment aan te passen.
       bij System.ServiceModel.Activation.ServiceMemoryGates.Check(Int32 minFreeMemoryPercentage, Boolean throwOnLowMemory, UInt64& availableMemoryBytes)
       bij System.ServiceModel.ServiceHostingEnvironment.HostingManager.CheckMemoryCloseIdleServices(EventTraceActivity eventTraceActivity)
       bij System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
       --- Einde van intern uitzonderingsstackpad ---
       bij System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
       bij System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath, EventTraceActivity eventTraceActivity)
     Procesnaam: w3wp
     Proces-id: 21252
    Gebeurtenis-XML:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="System.ServiceModel 4.0.0.0" />
        <EventID Qualifiers="49154">3</EventID>
        <Level>2</Level>
        <Task>5</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-05-16T08:36:34.000000000Z" />
        <EventRecordID>404277</EventRecordID>
        <Channel>Application</Channel>
        <Computer></Computer>
        <Security UserID="S-1-5-20" />
      </System>
      <EventData>
        <Data>System.ServiceModel.ServiceHostingEnvironment+HostingManager/28106152</Data>
        <Data>System.ServiceModel.ServiceActivationException: De service /Remote/BuiltIns/HomePage/GadgetDnD/GadgetDnDService.svc kan niet worden geactiveerd als gevolg van een uitzondering tijdens de compilatie. Het uitzonderingsbericht is:
    Het controleren van de geheugenpoorten is mislukt omdat het vrije geheugen (462663680 byte) minder bedraagt dan 5% van het totale geheugen. Het gevolg is dat de service niet beschikbaar is voor binnenkomende aanvragen. U kunt dit probleem oplossen door de
    belasting van de computer te verlagen of door de waarde van inFreeMemoryPercentageToActivateService in het configuratie-element serviceHostingEnvironment aan te passen.. ---&gt; System.InsufficientMemoryException: Het controleren van de geheugenpoorten
    is mislukt omdat het vrije geheugen (462663680 byte) minder bedraagt dan 5% van het totale geheugen. Het gevolg is dat de service niet beschikbaar is voor binnenkomende aanvragen. U kunt dit probleem oplossen door de belasting van de computer te verlagen of
    door de waarde van inFreeMemoryPercentageToActivateService in het configuratie-element serviceHostingEnvironment aan te passen.
       bij System.ServiceModel.Activation.ServiceMemoryGates.Check(Int32 minFreeMemoryPercentage, Boolean throwOnLowMemory, UInt64&amp; availableMemoryBytes)
       bij System.ServiceModel.ServiceHostingEnvironment.HostingManager.CheckMemoryCloseIdleServices(EventTraceActivity eventTraceActivity)
       bij System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
       --- Einde van intern uitzonderingsstackpad ---
       bij System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
       bij System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath, EventTraceActivity eventTraceActivity)</Data>
        <Data>w3wp</Data>
        <Data>21252</Data>
      </EventData>
    </Event>
    Logboeknaam:   Application
    Bron:          ASP.NET 4.0.30319.0
    Datum:         16-5-2013 10:36:34
    Gebeurtenis-id:1309
    Taakcategorie: Webgebeurtenis
    Niveau:        Waarschuwing
    Trefwoorden:   Klassiek
    Gebruiker:     n.v.t.
    Computer:     
    Beschrijving:
    Gebeurteniscode: 3005
    Gebeurtenisbericht: Er is een onverwerkte uitzondering opgetreden.
    Gebeurtenistijd: 16-5-2013 10:36:34
    Gebeurtenistijd (UTC): 16-5-2013 8:36:34
    Gebeurtenis-id: 2ce25cc6a90146e8ad0fa32e504b86ef
    Gebeurtenisreeks: 134
    Gebeurtenisinstantie: 7
    Gebeurtenisdetailcode: 0
    Toepassingsinformatie:
        Toepassingsdomein: /LM/W3SVC/1/ROOT/Remote-1-130131644927895718
        Vertrouwensniveau: Full
        Virtueel pad toepassing: /Remote
        Toepassingspad: C:\Program Files\Windows Small Business Server\Bin\WebApp\RemoteAccess\
        Computernaam:
    Procesinformatie:
        Proces-id: 21252
        Procesnaam: w3wp.exe
        Accountnaam: NT AUTHORITY\NETWORK SERVICE
    Uitzonderingsinformatie:
        Uitzonderingstype: InsufficientMemoryException
        Uitzonderingsbericht: Het controleren van de geheugenpoorten is mislukt omdat het vrije geheugen (462663680 byte) minder bedraagt dan 5% van het totale geheugen. Het gevolg is dat de service niet beschikbaar is voor binnenkomende aanvragen.
    U kunt dit probleem oplossen door de belasting van de computer te verlagen of door de waarde van inFreeMemoryPercentageToActivateService in het configuratie-element serviceHostingEnvironment aan te passen.
       bij System.ServiceModel.Activation.ServiceMemoryGates.Check(Int32 minFreeMemoryPercentage, Boolean throwOnLowMemory, UInt64& availableMemoryBytes)
       bij System.ServiceModel.ServiceHostingEnvironment.HostingManager.CheckMemoryCloseIdleServices(EventTraceActivity eventTraceActivity)
       bij System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
    Aanvraaginformatie:
        Aanvraag-URL: https://mail.mannekus.com:443/Remote/BuiltIns/HomePage/GadgetDnD/GadgetDnDService.svc/js
        Aanvraagpad: /Remote/BuiltIns/HomePage/GadgetDnD/GadgetDnDService.svc/js
        Hostadres gebruiker: 192.168.10.91
        Gebruiker: MANNEKUS\ITSN
        Is geverifieerd: True
        Verificatietype: Forms
        Accountnaam thread: NT AUTHORITY\NETWORK SERVICE
    Threadinformatie:
        Thread-id: 28
        Accountnaam thread: NT AUTHORITY\NETWORK SERVICE
        Imiteert: False
        Stacktracering:    bij System.ServiceModel.Activation.ServiceMemoryGates.Check(Int32 minFreeMemoryPercentage, Boolean throwOnLowMemory, UInt64& availableMemoryBytes)
       bij System.ServiceModel.ServiceHostingEnvironment.HostingManager.CheckMemoryCloseIdleServices(EventTraceActivity eventTraceActivity)
       bij System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
    Aangepaste gebeurtenisdetails:
    Gebeurtenis-XML:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="ASP.NET 4.0.30319.0" />
        <EventID Qualifiers="32768">1309</EventID>
        <Level>3</Level>
        <Task>3</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-05-16T08:36:34.000000000Z" />
        <EventRecordID>404279</EventRecordID>
        <Channel>Application</Channel>
        <Computer></Computer>
        <Security />
      </System>
      <EventData>
        <Data>3005</Data>
        <Data>Er is een onverwerkte uitzondering opgetreden.</Data>
        <Data>16-5-2013 10:36:34</Data>
        <Data>16-5-2013 8:36:34</Data>
        <Data>2ce25cc6a90146e8ad0fa32e504b86ef</Data>
        <Data>134</Data>
        <Data>7</Data>
        <Data>0</Data>
        <Data>/LM/W3SVC/1/ROOT/Remote-1-130131644927895718</Data>
        <Data>Full</Data>
        <Data>/Remote</Data>
        <Data>C:\Program Files\Windows Small Business Server\Bin\WebApp\RemoteAccess\</Data>
        <Data></Data>
        <Data>
        </Data>
        <Data>21252</Data>
        <Data>w3wp.exe</Data>
        <Data>NT AUTHORITY\NETWORK SERVICE</Data>
        <Data>InsufficientMemoryException</Data>
        <Data>Het controleren van de geheugenpoorten is mislukt omdat het vrije geheugen (462663680 byte) minder bedraagt dan 5% van het totale geheugen. Het gevolg is dat de service niet beschikbaar is voor binnenkomende aanvragen. U kunt
    dit probleem oplossen door de belasting van de computer te verlagen of door de waarde van inFreeMemoryPercentageToActivateService in het configuratie-element serviceHostingEnvironment aan te passen.
       bij System.ServiceModel.Activation.ServiceMemoryGates.Check(Int32 minFreeMemoryPercentage, Boolean throwOnLowMemory, UInt64&amp; availableMemoryBytes)
       bij System.ServiceModel.ServiceHostingEnvironment.HostingManager.CheckMemoryCloseIdleServices(EventTraceActivity eventTraceActivity)
       bij System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
    </Data>
        <Data>https://mail.mannekus.com:443/Remote/BuiltIns/HomePage/GadgetDnD/GadgetDnDService.svc/js</Data>
        <Data>/Remote/BuiltIns/HomePage/GadgetDnD/GadgetDnDService.svc/js</Data>
        <Data>192.168.10.91</Data>
        <Data>MANNEKUS\ITSN</Data>
        <Data>True</Data>
        <Data>Forms</Data>
        <Data>NT AUTHORITY\NETWORK SERVICE</Data>
        <Data>28</Data>
        <Data>NT AUTHORITY\NETWORK SERVICE</Data>
        <Data>False</Data>
        <Data>   bij System.ServiceModel.Activation.ServiceMemoryGates.Check(Int32 minFreeMemoryPercentage, Boolean throwOnLowMemory, UInt64&amp; availableMemoryBytes)
       bij System.ServiceModel.ServiceHostingEnvironment.HostingManager.CheckMemoryCloseIdleServices(EventTraceActivity eventTraceActivity)
       bij System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
    </Data>
      </EventData>
    </Event>

    Yes, many of our customers use the same anti-virus software, Kaspersky AV 6.0, and the same back-up software, Ashay online back-up.
    A reboot temporarily solves the problem but when the memory usage gets above 95% the problem gets back.
    This site has about 40 user accounts.
    The error message states the following:
    To resolve this problem reducethe load on the
    computer or modify the valueinFreeMemoryPercentageToActivateService in
    the configuration element service
    hosting environment.
    Where could we check if there is a limit of 5% or less free memory set, which configuration file should we check?

  • XML Publisher report ends up with Warning: not enough storage is available

    Hi,
    We have customized the AR Invoice print program (Invoice Print Selected Invoices) and have made converted the Oracle 6i report to XML Publisher.
    We have around 13000 AR invoicesin the system and when i try running the report for around 300 invoices, it works fine. When i try running it for more, It gives a warning and when i try to open the xml file to see if it is fully generated. I found that the XML File is broken in between and gives an error "not enough storage is available to complete this operation.".
    We have around 2 GB space in temp but we are not sure, why this is happening.
    Appreciate your help. Many Thanks in advance.
    Regards,
    Kesava
    Mob: 1-832-332-4303

    Hi Kesava
    Can you check the $APPLCSF/$APPLOUT directory and see if you can see the file and its size? Maybe open it with vi or emacs and goto the last line and see if its complete.
    You might also check the OPP log for this request to see if there is anyting in that log?
    Regards
    Tim
    http://blogs.oracle.com/xmlpublisher

  • Reports not getting generated

    Dear All,
    I know this is a repeat query but im unable to find information from the blogpost http://scn.sap.com/docs/DOC-41109.
    I have earlier configured the WWI setup in a linux server. Now I am testing it on a windows server. I have made all the configurations in word and for generation server. The issue is, the report is not getting generated in report management screen and is in status Generation possible always.
    When i check the wwi monitor, the doc type SBR is getting released but not getting completed. Please see the screenshot. CGSADM is working fine, RFC is working fine. I tried creating documents in CV01N and they are getting created. The DCOM settings are also good and activated the permissions there too. The DMS settings are set as per the SAP notes. However The job i scheduled is in status Finished for document generation. But when I try to generate the report, the report is created using a variant and the status of the report is in generation possible always. I checked the variant of the report and the validity is in REG_WORLD. I understand that there is some issue in the scheduled job.
    I have scheduled only one job for Document Generation as follows.
    a)Enter the job name - DOC GENERATION and choose a job class - A.
    d) Choose Start condition and in the dialog box, choose After event.
    e) Enter SAP_SYSTEM_START in the event field.
    f) Activate Periodic job - HOURLY
    g) Choose Check and save your entries.
    h) Choose Step and choose ABAP program in the dialog box that appears.
    i) Enter RC1WWIDS as the ABAP program name.
    j) Choose Check and save your entries.
    k) Before you leave the Define Background Job screen, you must save your entries once more.
    Result: The job is started whenever the SAP system is started.
    aFTER REPEATED ATTEMPTS, THE RESULT IS THE SAME AND NO CHANGE IN STATUS OF THE REPORT.
    Kindly suggest what step am i missing . I have been through all the blogs in SCN. My old blogs are however missing and hence I am not able to access them.
    I am using SAP GUI 7.30, ECC6 and EHP 5.
    Regards
    Dhinesh

    Dear Dhinesh
    Please help me to understand your system landscape.
    a.) Did you have had a SAP EHS up and running together with a "linux server" based WWI version
    and
    b.) now you are switching the same SAP system to a "windows server" based version?
    I am not sure about your screenshots. But you seem to have more than one gen server attached to the same system; did you updated as well WWI?
    So no adaption of general SAP set up (like DMS etc.)?
    Therefore any job scheduled (before afterwards) is done using a SAP account having the necessary access rights?
    Can you please check this:
    1.) create several sessions; one with WWi monitor and one with CG02; try to generate a different report for the same spec id (e.g. not MSDSUS in EN, but MSDS/FR) and check progress in WWI monitor as well as CG50
    2.) select in CG50 the report in status "generation possible"; mark it and try to "go" on ; check access rights afterwards (su53)
    I hate this status "generation possible". I believe you need to use "debug replace" to remove that entry; I can not remember any more but that was the only option to get "rid" of this entry
    Please read WWI cookbook, There is a set up possible in such a way that any action on WWI server is "logged"; may be try to analyze the log file to get idea why there is no progress regarding the generation
    PS: the problem you have detected is not related to the "validity area". It is a matter of communication issue between SAP and WWI server and the WWI process can not be finalized.
    But you are not alone with your problem (e.g. check:
    http://www.benxbrain.com/en/sap/program/RC1WWIDS-Generation-possible-status-not-changing-thread-1-1547841.htm)
    http://scn.sap.com/thread/3311944
    http://www.consolut.com/en/s/sap-ides-access/d/s/doc/H-ESEWSRSTAT
    https://scn.sap.com/thread/1575223
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/ehs-wwi-processing-272462
    Check as well your own thread: http://scn.sap.com/thread/3304285
    C.B.
    PS: may be check: http://www.stechno.net/sap-notes.html?view=sapnote&id=1094307
    as well as:
    http://www.stechno.net/sap-notes.html?view=sapnote&id=580586
    PPS I: logging feature of WWI is described here: Note 778684
    PPS II: may be check: http://www.stechno.net/sap-notes.html?view=sapnote&id=1094307
    PPS II: may be check as well: http://scn.sap.com/thread/3344033
    and http://scn.sap.com/thread/1381004

  • CR2008 Not enough memory while exporting reports from Crystal Reports 2008

    I have recently upgraded our Crystal Reports version from Crystal Reports Basic for Visual Studio 2008 to Crystal Reports 2008. After upgradation I am facing the problem "Memory full.OtherErrorFailed to export the report. Not enough memory for operation" when I am trying to export the report from Crystal Reports 2008 Report viewer, or directly from the code behind. The application is hosted application. The problem occurs in our production environment.
    Server details:
    OS: Windows 2003 Enterprise Edition R2 with SP2
    IIS: IIS 6
    .Net Framework: 3.5
    Application details:
    Hosted application using Crystal Reports 2008 SP 3
    Crystal Reports Viewer version: 12.0.2000.0
    The data binding of the report object is done through an ADODB dataset.
    Web.Config:
    <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
      <configSections>
        <sectionGroup name="businessObjects">
          <sectionGroup name="crystalReports">
            <section name="printControl" type="System.Configuration.NameValueSectionHandler" />
            <section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler" />
          </sectionGroup>
        </sectionGroup>
      </configSections>
      <businessObjects>
        <crystalReports>
          <printControl>
            <add key="url" value="http://myserver/mysite/PrintControl.cab" />
          </printControl>
          <crystalReportViewer>
            <add key="documentView" value="weblayout" />
          </crystalReportViewer>
        </crystalReports>
      </businessObjects>
      <appSettings>
        <add key="CrystalImageCleaner-AutoStart" value="true" />
        <add key="CrystalImageCleaner-Sleep" value="60000" />
        <add key="CrystalImageCleaner-Age" value="120000" />
      </appSettings>
      <system.web>
        <httpHandlers>
          <add path="CrystalImageHandler.aspx" verb="GET" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
        </httpHandlers>
        <compilation debug="false">
          <assemblies>
            <add assembly="CrystalDecisions.Data.AdoDotNetInterop, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
            <add assembly="CrystalDecisions.Shared, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.Enterprise.InfoStore, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.Enterprise.Framework, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.ReportSource, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
          </assemblies>
      </system.web>
      <system.webServer>
         <handlers>
             <add name="CrystalImageHandler.aspx_GET" verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" preCondition="integratedMode" />
         </handlers>
      </system.webServer>
    </configuration>
    Sample Code:
    Report = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
    Report.Load(Server.MapPath(strReportPath));
    Report.SetDataSource(dsReport);
    Creportviewer.ReportSource = Report;
    For exporting the report to PDF
    string Filename = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.InternetCache).ToString(), Guid.NewGuid().ToString() + ".pdf");
    Report.ExportToDisk(ExportFormatType.PortableDocFormat, Filename);
    Clean Up Code: (Page_UnLoad event)
    if (Report != null)
         Report.Close();
         Report.Dispose();
    Creportviewer.ReportSource = null;
    Creportviewer.Dispose();
    dsReport = null;
    GC.Collect();
    GC.WaitForPendingFinalizers();
    Can someone help me resolve the issue.

    The .rpt file size is 14MB with the Data Save option enabled, 12MB without Data Save.  Presumably the 12MB file size is because of the 24bit PNG we have as our background.
    The Designer executes the report in less than a second and we can scroll through all pages and see the image fields perfectly.
    When we Export to PDF, the Designer takes a long time, eventually gets to the 77%, the 7th record and returns "Export report failed" followed by "Memory full".  If we export only page 1 of the 3 pages, it also returns a Memory full error.  However, when the same report is run with only 1 page, that page exports to PDF but with a ridiculously large size and export time.
    The machine has 2GB of physical memory with an 8GB pagefile with Windows 2003 (latest everything).  The process runs up to about 1GB before reporting the memory full error.
    We've also tried a variety of other suggestions posted in the other thread with no success.
    We're happy to provide the RPT file to the Report Team to diagnose the problem.  Ultimately, we need to be able to produce a 15 page report with approximately 45 images.
    Our preferred scenario is fixing problem 2.  The CR Designer seems quite capable of rendering our report and printing it to our third party PDF printer in a timely manner with small size.  However, the API reports memory full.
    The API resides in a dedicated reporting web service with NO other code except for loading the report, setting parameters and printing.  When executing, it uses up to about 1.1GB before reporting the error.
    Are there any other suggestions for fixing what we have?  Are there known problems with large images in reports?  Do we need to lodge a formal support request?
    Regards,  Grant.
    PS.  Grr and my message formatting is lost when I edited this message!!!
    There is a 1500 character limit and then all formatting is removed to save space. Break you posts into separate entries.
    Edited by: grantph on Sep 30, 2009 2:49 AM

Maybe you are looking for