From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vladimir Nikishkin Newsgroups: gmane.emacs.help Subject: Emacs on Android OOMs with pdf-tools. (And an Android howto.) Date: Tue, 20 Aug 2024 18:26:38 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28657"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 20 12:27:35 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sgM5P-0007Gr-DR for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 20 Aug 2024 12:27:35 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sgM4t-0003vS-EK; Tue, 20 Aug 2024 06:27:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sgM4r-0003tJ-5s for help-gnu-emacs@gnu.org; Tue, 20 Aug 2024 06:27:01 -0400 Original-Received: from mail-vs1-xe2c.google.com ([2607:f8b0:4864:20::e2c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sgM4p-000437-Cv for help-gnu-emacs@gnu.org; Tue, 20 Aug 2024 06:27:00 -0400 Original-Received: by mail-vs1-xe2c.google.com with SMTP id ada2fe7eead31-494556dfa3aso1594936137.0 for ; Tue, 20 Aug 2024 03:26:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724149616; x=1724754416; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=WKdbC6v5YB9fcDdJOEkfteLwKBoTsyj+pYY7/WPqops=; b=CZ0dWOZMLJVMAYwjjYt+SKunLBdEJGZ0P4jn/j0GSkEHtIg37CujR/ulv00bHSl6r+ Kz+HqlggiohdqQMD8k+9AyOis3GxN6KPisdGlqSU9xf69+A8S1JoLmBcLYD22s4Ti4Jn LCmUtj+IroHCyJC3YnrA30984i7cvH3gy4cxNtjtA/f8+bdDD0hNg7CARsW4bCnZgmtv F/Yvkti9Y0TTG70G30otYQUJnTsjxOBeRavidF1hG9D2tNoGXcGhDqppaWr5PTIveMvQ Utlx45d+jM+v6qOgykaX3CUtgG0Duy6wetLMyi8q3d2nt1GHIJ6ubB0JmdEHF5DSmC+Q PhDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724149616; x=1724754416; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=WKdbC6v5YB9fcDdJOEkfteLwKBoTsyj+pYY7/WPqops=; b=vi2tSYWsnLT6sb/sebbBhoR4xO18O2OtkNDKfaC4axDsYhAvlF5QHb8VuiRa7V30ag Fj+G7u77GV3a2sz3zxXdnFM3SAcXE5M1NXJ1zapGARBcDwf1lVIcWoPs5SoNo91gnmqc dQtmNmcti/NoeNf5V4XAD8yKVV6krc4f+fMBDIxQZhobxhWbXyAz+YPqgPZZDG4LT5mY M4yq/8kaOiiqXIDAqhEEVpeUTGNI9phKA1zJ2m3e5G1Z6t6A/fXpojU0rv615EuUXB2s 6Zie4m3+3vQJJOG5jChEC6crnQnE8Cv8dnkkeox7MgCo59bg7JfGb1OtIgFxqIg1hgZ7 +Adw== X-Gm-Message-State: AOJu0YxSSjMUcrv4Voktgfjq1Z5wK8Wrje4W2lsUjwyM7JyX2q24w7Q9 krKSOAMQo2/5qGhOySdL48IxGry5hsLljfqHPl6ErTYSphxmNzZDHvzgSDqK08shkN78s517kOv Z13tdMq8AYoICWicJqHdl+fJk55EzUDaD X-Google-Smtp-Source: AGHT+IExwMd2W1MQJzZjA0hAO0181cm9/MLUCJXdSl8xvce+SQVg1cTepyy4zuti692APJjttXVCutOzJajZ3NPLL8o= X-Received: by 2002:a05:6102:f0c:b0:493:c81c:3148 with SMTP id ada2fe7eead31-49779654220mr11923284137.0.1724149615861; Tue, 20 Aug 2024 03:26:55 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::e2c; envelope-from=lockywolf@gmail.com; helo=mail-vs1-xe2c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:147739 Archived-At: Hello everyone. This is possibly not a problem with emacs, but my setup is so unconventional that I suspect that people here might get interested even if unable to help. I am using Emacs-master on Android 6, re-signed to be used together with termux. This is a howto on how I am doing this: https://lockywolf.net/2024-08-07_Using-an-ebook-instead-of-a-laptop.d/index.html#pdf-tools The html anchor is already pointing to the problematic place: Emacs OOMs with pdf-tools (compiled to use poppler from termux). At the same time, doc-view-mode does not oom even on books with hundreds of pages. Does anyone have an idea on how to debug this? I have progressed a little bit by disabling pdf-tools cache, and trying imagemagick. But I still haven't managed to get to the end of even a small pdf of 22 pages. Thanks!