Memory leak or wrong code

Memory leak or wrong code

In one application we're developing we're facing a serious memory leak in pages where the content is refreshed periodically. With the following sample HTML the leak can be seen with Chrome developers tools. Please mind that this is just an example (that still shows the leak though), the actual refreshed content comes from a server with a Ajax request, it is much bigger and the leaked memory is way larger.
I'm wondering if replacing the content with .html() and recreating JQM with .trigger("create") in line 28 is the correct way or is the source of the issue.

Edit: fiddle
Edit 2: corrected fiddle and code with watusiware remarks
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4.     <title>JQM Memory Leak</title>
  5.     <script src="jquery-1.10.1.js"></script>
  6.     <script src="jquery.mobile-1.3.1.js"></script>
  7.     <link rel="stylesheet" href="jquery.mobile-1.3.1.css"/>
  8. </head>
  9. <body>
  10.     <div data-role="page" id="First">
  11.         <div data-role="content">
  12.             <a data-role="button" href="#LeakingPage">Leaking Page</a>
  13.         </div>
  14.     </div>
  15.     <div data-role="page" id="LeakingPage" data-add-back-btn="true">
  16.         <div data-role="header">
  17.             <h1>Leaking Page</h1>
  18.         </div>
  19.         <div data-role="content" id="Content">
  20.             <p>Please wait 5 seconds.</p>
  21.         </div>
  22.         <script>
  23.             var timer

  24.             // start refresh timer when page is shown
  25.             $("#LeakingPage").on("pageshow", function () {
  26.                 timer = window.setInterval(function() {
  27.                     $("#Content").empty().html("<ul data-role='listview'><li><a href='google.com'>Google</a></li><li><a href='bing.com'>Bing</a></li></ul>").trigger("create")
  28.                 }, 5000)
  29.             })

  30.             // stop refresh timer when page is hidden
  31.             $("#LeakingPage").on("pagehide", function() {
  32.                 window.clearInterval(timer)
  33.             })
  34.         </script>
  35.     </div>
  36. </body>
  37. </html>