{"id":208,"date":"2009-08-19T00:12:47","date_gmt":"2009-08-19T00:12:47","guid":{"rendered":"http:\/\/entrian.com\/blog\/?p=208"},"modified":"2021-07-01T07:14:29","modified_gmt":"2021-07-01T07:14:29","slug":"entrian-source-search-1-3-2-out-of-memory-errors-and-window-positioning","status":"publish","type":"post","link":"https:\/\/entrian.com\/blog\/entrian-source-search-1-3-2-out-of-memory-errors-and-window-positioning\/","title":{"rendered":"Entrian Source Search 1.3.2: Out Of Memory errors and window positioning"},"content":{"rendered":"<p>This release sees two enhancements:<\/p>\n<ul>\n<li>The window position is once again remembered properly between sessions.\u00a0 (This was partially broken in 1.3.0, because of changes needed for Visual Studio 2010, but should now work properly on all versions.)<\/li>\n<li>If a search returns so many hits that it runs out of memory, you now get a sensible error message rather than a crash:<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-209 aligncenter\" title=\"The &quot;Out of memory&quot; message\" src=\"https:\/\/entrian.com\/blog\/wp-content\/uploads\/2009\/08\/out-of-memory.png\" alt=\"The &quot;Out of memory&quot; message\" width=\"476\" height=\"159\" srcset=\"https:\/\/entrian.com\/blog\/wp-content\/uploads\/2009\/08\/out-of-memory.png 476w, https:\/\/entrian.com\/blog\/wp-content\/uploads\/2009\/08\/out-of-memory-300x100.png 300w\" sizes=\"auto, (max-width: 476px) 100vw, 476px\" \/><\/li>\n<\/ul>\n<p>If you&#8217;re getting Out Of Memory errors when searching, you might be using the wrong search syntax.\u00a0 Searching for this:<\/p>\n<pre>  x = 1<\/pre>\n<p>(with spaces around the equals sign) will actually search for all the <code>x<\/code>&#8216;s, all the <code>=<\/code> signs, and all the <code>1<\/code>&#8216;s in your code!\u00a0 You need to either use a quoted phrase:<\/p>\n<pre>  \"x = 1\"<\/pre>\n<p>or simply omit the spaces:<\/p>\n<pre>  x=1<\/pre>\n<p>Spaces are ignored when searching, so searching for <code>x=1<\/code> (without spaces) will find <code>x = 1<\/code> (with spaces).<\/p>\n<p>As usual, you can download this latest release from <a href=\"http:\/\/entrian.com\/source-search\/download.html\">the download page<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This release sees two enhancements: The window position is once again remembered properly between sessions, and if a search returns so many hits that it runs out of memory, you now get a sensible error message rather than a crash. [&#8230;] <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,4],"tags":[],"class_list":["post-208","post","type-post","status-publish","format-standard","hentry","category-30days","category-changelog"],"_links":{"self":[{"href":"https:\/\/entrian.com\/blog\/wp-json\/wp\/v2\/posts\/208","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/entrian.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/entrian.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/entrian.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/entrian.com\/blog\/wp-json\/wp\/v2\/comments?post=208"}],"version-history":[{"count":1,"href":"https:\/\/entrian.com\/blog\/wp-json\/wp\/v2\/posts\/208\/revisions"}],"predecessor-version":[{"id":1233,"href":"https:\/\/entrian.com\/blog\/wp-json\/wp\/v2\/posts\/208\/revisions\/1233"}],"wp:attachment":[{"href":"https:\/\/entrian.com\/blog\/wp-json\/wp\/v2\/media?parent=208"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/entrian.com\/blog\/wp-json\/wp\/v2\/categories?post=208"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/entrian.com\/blog\/wp-json\/wp\/v2\/tags?post=208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}