I have a rather large (200+ field) InfoPath form on a custom list that is full of drop-downs referencing other lists on the same site, along with some textboxes and checkboxes. There's not much in the way of formatting or rules present, so despite the form being large it is not exactly complicated. When creating a new item the form works fine, and saves the item properly. But when trying to view an item created by this form users receive the following "Server out of memory" error:

Server out of memory

For reference and the sake of search engines, here is the text description:

There is no memory on the server to run your program. Please contact your administrator with this problem.<nativehr>0x8007000e</nativehr><nativestack></nativestack> 

I have ensured there are at least 20% memory and processing power available on both the WFE and the SQL server, and even rebooted the WFE to reset all the connections and clear any possible memory leak, but the results are unchanged. The only references I can find to this problem say the SQL database is out of room but I have verified there is plenty of extra space available. Our sysadmin has watched the SQL connections and doesn't see anything odd happen when I trigger the error, and there's no reference to it on the WFE event logs.

What could be causing this?

Update: The form has three views with the fields spread across them. In the past I have had weird issues with multiple views mucking up a form so on a hunch I created a copy of the list/form and deleted the two extra views and all related fields. This fixed the issue, however it's not an ideal solution. If anyone could provide insight into an overall fix that would allow me to use the other views I would greatly appreciate it!

  • possibly a memory leak or infinite loop when creating the item with the form? I would check your InfoPath code, if you have any. – Mike Feb 25 '14 at 16:10
  • There's no special code, the form was created strictly with oob controls. Could there still be a leak/loop? How would I check for it? – thanby Feb 25 '14 at 16:12
  • How many datasources do you have? Also, How many repeating fields do you have? – Mike Feb 25 '14 at 18:31
  • No repeating fields, but there are 18 data sources, all pointing to very small lists in the same site. A good amount of those aren't even used but were created automatically when the field was created, though the fields had their choices switched to another data source and the originals can't be removed apparently. – thanby Feb 25 '14 at 18:36
  • why can't they be removed? If you aren't using a data source in InfoPath, it should be removed. – Mike Feb 25 '14 at 22:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.