# Multiple Instances are not working

**URL:** <https://pdfjs.community/t/multiple-instances-are-not-working/3472>\
**Category:** Technical Support\
**Tags:** pdfjs-express\
**Created:** [October 10, 2024, 8:01am UTC](https://pdfjs.community/t/multiple-instances-are-not-working/3472 "2024-10-10T08:01:29Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![kkim](https://avatars.discourse-cdn.com/v4/letter/k/3ab097/32.png) [@kkim](https://pdfjs.community/u/kkim)\
**Post date:** [October 10, 2024, 1:59pm UTC](https://pdfjs.community/t/multiple-instances-are-not-working/3472/3 "2024-10-10T13:59:57Z")

</div>

Hi there,

How are you initializing the 2 instances? Are they mounted on 2 separate DOM elements?  
Note that using multiple instances will consume a lot more memory, see this thread for details:

> [@Load many WebViewer, the browsers automatically refresh on IPhone and Ipad devices](https://pdfjs.community/t/load-many-webviewer-the-browsers-automatically-refresh-on-iphone-and-ipad-devices/2824):
>
> Which product are you using? PDF.js Express Viewer PDF.js Express Version UI version ‘8.7.0’ Core version ‘8.7.4’ webviewer.min.js ‘8.7.4’ Detailed description of issue I want to load 7 PDF WebViewers in my blazor WebAssembly. On iPhone and iPad devices, the Chrome and Safari browsers automatically refresh when loaded into the 5th WebViewer. Expected behaviour {Provide a screenshot or description of the expected behaviour} Does your issue happen with every document, or jus…

See this forum post for another example of implementation:

> [@Two instances on different elements, licenseKey isn't sending to the 2nd](https://pdfjs.community/t/two-instances-on-different-elements-licensekey-isnt-sending-to-the-2nd/3116/6):
>
> also, just to mention, I don’t think I’ve read anywhere explicitly that you can’t use two instances at the same time in your documentation…I would say there’s a difference between “we don’t suggest it” and “it’s not possible”. As far as I can tell, it is not possible and being able to find that information would have saved me a good chunk of time.

Best regards,  
Kevin Kim

---

_[View the full topic](https://pdfjs.community/t/multiple-instances-are-not-working/3472)._
